]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: spell "go.runtime" correctly for inline "cheap" test
authorDavid Chase <drchase@google.com>
Thu, 24 Oct 2024 18:17:39 +0000 (14:17 -0400)
committerDavid Chase <drchase@google.com>
Thu, 24 Oct 2024 19:18:55 +0000 (19:18 +0000)
Updates #69539.

Change-Id: I40885e9c23f35772f8ace645044afee0d55b70b2
Reviewed-on: https://go-review.googlesource.com/c/go/+/622415
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/inline/inl.go

index e3462f54ec6b5d5f338a938402c0951499d46cbc..6c0521d1f5e23bc7f3d63b16959f84d7b6904cce 100644 (file)
@@ -467,7 +467,7 @@ opSwitch:
                                                v.reason = "call to " + fn
                                                return true
                                        }
-                               case "runtime":
+                               case "go.runtime":
                                        switch fn {
                                        case "throw":
                                                // runtime.throw is a "cheap call" like panic in normal code.