From: David Chase Date: Thu, 24 Oct 2024 18:17:39 +0000 (-0400) Subject: cmd/compile: spell "go.runtime" correctly for inline "cheap" test X-Git-Tag: go1.24rc1~601 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c2b580a47467e6236f1b9f2f7f72e6ada3a79806;p=gostls13.git cmd/compile: spell "go.runtime" correctly for inline "cheap" test Updates #69539. Change-Id: I40885e9c23f35772f8ace645044afee0d55b70b2 Reviewed-on: https://go-review.googlesource.com/c/go/+/622415 LUCI-TryBot-Result: Go LUCI Reviewed-by: Robert Griesemer --- diff --git a/src/cmd/compile/internal/inline/inl.go b/src/cmd/compile/internal/inline/inl.go index e3462f54ec..6c0521d1f5 100644 --- a/src/cmd/compile/internal/inline/inl.go +++ b/src/cmd/compile/internal/inline/inl.go @@ -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.