]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove obj.LSym(s) for assertI2I and assertI2I2
author封幼林 <fengyoulin@live.com>
Mon, 23 Sep 2024 14:55:13 +0000 (22:55 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 23 Sep 2024 16:29:31 +0000 (16:29 +0000)
Change-Id: I85993a34b115a700ccdfea29df4e78c360e68b03
Reviewed-on: https://go-review.googlesource.com/c/go/+/615075
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/cmd/compile/internal/ir/symtab.go
src/cmd/compile/internal/ssagen/ssa.go

index 202c4942dea86f6f947772da56b0eeb0648ea396..a2a263d3ce25f0c9a784d81d4c9740115fb62da0 100644 (file)
@@ -15,8 +15,6 @@ var Syms symsStruct
 type symsStruct struct {
        AssertE2I         *obj.LSym
        AssertE2I2        *obj.LSym
-       AssertI2I         *obj.LSym
-       AssertI2I2        *obj.LSym
        Asanread          *obj.LSym
        Asanwrite         *obj.LSym
        CgoCheckMemmove   *obj.LSym
index 89a8ce00735896e0fcdc687ff27be879b283d6c9..97681214e72e2b92c23583d63661c6d33dda3247 100644 (file)
@@ -102,8 +102,6 @@ func InitConfig() {
        // Set up some runtime functions we'll need to call.
        ir.Syms.AssertE2I = typecheck.LookupRuntimeFunc("assertE2I")
        ir.Syms.AssertE2I2 = typecheck.LookupRuntimeFunc("assertE2I2")
-       ir.Syms.AssertI2I = typecheck.LookupRuntimeFunc("assertI2I")
-       ir.Syms.AssertI2I2 = typecheck.LookupRuntimeFunc("assertI2I2")
        ir.Syms.CgoCheckMemmove = typecheck.LookupRuntimeFunc("cgoCheckMemmove")
        ir.Syms.CgoCheckPtrWrite = typecheck.LookupRuntimeFunc("cgoCheckPtrWrite")
        ir.Syms.CheckPtrAlignment = typecheck.LookupRuntimeFunc("checkptrAlignment")