diff --git a/src/cmd/compile/internal/ssa/debug.go b/src/cmd/compile/internal/ssa/debug.go index 327dd916e7..c4f90ebff2 100644 --- a/src/cmd/compile/internal/ssa/debug.go +++ b/src/cmd/compile/internal/ssa/debug.go @@ -469,7 +469,7 @@ func (state *debugState) liveness() []*BlockDebug { source = v.Args[0] case OpLoadReg: switch a := v.Args[0]; a.Op { - case OpArg: + case OpArg, OpPhi: source = a case OpStoreReg: source = a.Args[0]