Skip to content

Commit

Permalink
cmd/compile/internal/ssa: correct error message for AuxArm64BitField
Browse files Browse the repository at this point in the history
Change-Id: I2e1f48c02cb5c6e90a9cb894eb3bc330a4c5c4b5
GitHub-Last-Rev: 303d1f8
GitHub-Pull-Request: #67124
Reviewed-on: https://go-review.googlesource.com/c/go/+/582615
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: David Chase <drchase@google.com>
  • Loading branch information
And-ZJ authored and gopherbot committed May 3, 2024
1 parent 44b54b9 commit 18dd682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/ssa/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (v *Value) AuxValAndOff() ValAndOff {

func (v *Value) AuxArm64BitField() arm64BitField {
if opcodeTable[v.Op].auxType != auxARM64BitField {
v.Fatalf("op %s doesn't have a ValAndOff aux field", v.Op)
v.Fatalf("op %s doesn't have a ARM64BitField aux field", v.Op)
}
return arm64BitField(v.AuxInt)
}
Expand Down

0 comments on commit 18dd682

Please sign in to comment.