Skip to content

Commit b6ec77e

Browse files
committed
ir: use value.Value for Pred of Incoming in InstPhi
Note: this commit is targetted for the v0.4 release. Updates llir#50.
1 parent 638ad91 commit b6ec77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ir/inst_other.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ type Incoming struct {
212212
// Incoming value.
213213
X value.Value
214214
// Predecessor basic block of the incoming value.
215-
Pred *Block
215+
Pred value.Value // *ir.Block
216216
}
217217

218218
// NewIncoming returns a new incoming value based on the given value and

0 commit comments

Comments
 (0)