compiler: remove references to slicecopy and slicestringcopy
authorIan Lance Taylor <iant@golang.org>
Wed, 23 Dec 2020 06:26:43 +0000 (22:26 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 23 Dec 2020 16:55:46 +0000 (08:55 -0800)
The only calls to the runtime functions were removed in CL 170005.
The slicestringcopy function will be removed in the Go 1.16beta1 release.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/279932

gcc/go/gofrontend/MERGE
gcc/go/gofrontend/escape.cc
gcc/go/gofrontend/runtime.def

index e67aa3622fb64f30afe917bd38b0c74b547833c6..fbac942ad428c7d2fcb9145e090333d243adb01a 100644 (file)
@@ -1,4 +1,4 @@
-013a4ddcae2e8b840561c4411bab87f4f0f9ef42
+d238487d5c6e0c7f12c38305060fba8b7ec3605f
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index 8962f3f38d115c153269f6a385f6cbd2ac63c2cd..cf68874044376ffc6a438452ff1965f11edc9ef5 100644 (file)
@@ -363,8 +363,6 @@ Node::op_format() const
                  op << "append";
                  break;
 
-               case Runtime::SLICECOPY:
-               case Runtime::SLICESTRINGCOPY:
                case Runtime::TYPEDSLICECOPY:
                  op << "copy";
                  break;
index 7ab94a3ffbca9c9346fa1a5d5809bc9de98825d0..ec01be0afe43fefbd3d44507740b791f21a5a1a0 100644 (file)
@@ -242,14 +242,6 @@ DEF_GO_RUNTIME(DEFERRETURN, "runtime.deferreturn", P1(BOOLPTR), R0())
 DEF_GO_RUNTIME(CLOSE, "runtime.closechan", P1(CHAN), R0())
 
 
-// Copy.
-DEF_GO_RUNTIME(SLICECOPY, "runtime.slicecopy",
-              P5(POINTER, INT, POINTER, INT, UINTPTR), R1(INT))
-
-// Copy from string.
-DEF_GO_RUNTIME(SLICESTRINGCOPY, "runtime.slicestringcopy",
-              P3(POINTER, INT, STRING), R1(INT))
-
 // Copy of value containing pointers.
 DEF_GO_RUNTIME(TYPEDSLICECOPY, "runtime.typedslicecopy",
               P5(TYPE, POINTER, INT, POINTER, INT), R1(INT))