Skip to content

Commit

Permalink
cmd/compile: spell "go.runtime" correctly for inline "cheap" test
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dr2chase committed Oct 24, 2024
1 parent 1846dd5 commit c2b580a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/inline/inl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c2b580a

Please sign in to comment.