From 010817714e16b859211b50bde6ea7c804263146c Mon Sep 17 00:00:00 2001 From: Cuong Manh Le Date: Sat, 28 Aug 2021 11:22:06 +0700 Subject: [PATCH] cmd/compile: ignore SliceExpr.CheckPtrCall for mknode CL 343972 added SliceExpr.CheckPtrCall field but forgot to add ignore tag for mknode. This CL adds the missing tag. Change-Id: Ib39bff3d456063bdc10fc17b4047b8392d373bf1 Reviewed-on: https://go-review.googlesource.com/c/go/+/345431 Trust: Cuong Manh Le Run-TryBot: Cuong Manh Le Reviewed-by: Matthew Dempsky TryBot-Result: Go Bot --- src/cmd/compile/internal/ir/expr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ir/expr.go b/src/cmd/compile/internal/ir/expr.go index 41de6bd61b2..baf01174098 100644 --- a/src/cmd/compile/internal/ir/expr.go +++ b/src/cmd/compile/internal/ir/expr.go @@ -574,7 +574,7 @@ type SliceExpr struct { Low Node High Node Max Node - CheckPtrCall *CallExpr + CheckPtrCall *CallExpr `mknode:"-"` } func NewSliceExpr(pos src.XPos, op Op, x, low, high, max Node) *SliceExpr {