dillon1000/react
Commit
Browse files [be] Preds/phis use BlockId since blocks may change
Phi operands and Block predecessors currently use a `BasicBlock` reference rather than the BlockId. This diverges from other places (like terminals) where we use an id and not a direct object reference. Especially since blocks may get rewritten or pruned, it's a bit cleaner to use the block id in these places.
Changed paths6 files
First-parent comparisoncompiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/HIRBuilder.ts ModifiedM compiler/forget/src/HIR/PrintHIR.ts ModifiedM compiler/forget/src/SSA/EliminateRedundantPhi.ts ModifiedM compiler/forget/src/SSA/EnterSSA.ts ModifiedM compiler/forget/src/SSA/LeaveSSA.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…