Skip to content

Commit c2b580a

Browse files
committed
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 <[email protected]> Reviewed-by: Robert Griesemer <[email protected]>
1 parent 1846dd5 commit c2b580a

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/compile/internal/inline

1 file changed

+1
-1
lines changed

src/cmd/compile/internal/inline/inl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ opSwitch:
467467
v.reason = "call to " + fn
468468
return true
469469
}
470-
case "runtime":
470+
case "go.runtime":
471471
switch fn {
472472
case "throw":
473473
// runtime.throw is a "cheap call" like panic in normal code.

0 commit comments

Comments
 (0)