Skip to content

Commit

Permalink
cmd/compile: fix error message formatting in decomposeBuiltInPhi
Browse files Browse the repository at this point in the history
Change-Id: Ib2b2eb6bebb59134f671a79739ee1acaf32ed443
Reviewed-on: https://go-review.googlesource.com/c/go/+/411217
Reviewed-by: Keith Randall <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
Run-TryBot: Keith Randall <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Joedian Reid <[email protected]>
  • Loading branch information
Jorropo authored and randall77 committed Aug 23, 2022
1 parent 790d605 commit a36a0c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/compile/internal/ssa/decompose.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func decomposeBuiltInPhi(v *Value) {
case v.Type.IsFloat():
// floats are never decomposed, even ones bigger than RegSize
case v.Type.Size() > v.Block.Func.Config.RegSize:
v.Fatalf("undecomposed type %s", v.Type)
v.Fatalf("%v undecomposed type %v", v, v.Type)
}
}

Expand Down

0 comments on commit a36a0c4

Please sign in to comment.