@@ -692,13 +692,13 @@ function construct_ssa!(ci::CodeInfo, ir::IRCode, domtree::DomTree, defuse, narg
692692 for (idx, slot) in Iterators. enumerate (phi_slots[item])
693693 ssaval, node = phi_nodes[item][idx]
694694 incoming_val = incoming_vals[slot]
695- if incoming_val == SSAValue (- 1 )
695+ if incoming_val === SSAValue (- 1 )
696696 # Optimistically omit this path.
697697 # Liveness analysis would probably have prevented us from inserting this phi node
698698 continue
699699 end
700700 push! (node. edges, pred)
701- if incoming_val == undef_token
701+ if incoming_val === undef_token
702702 resize! (node. values, length (node. values)+ 1 )
703703 else
704704 push! (node. values, incoming_val)
@@ -708,7 +708,7 @@ function construct_ssa!(ci::CodeInfo, ir::IRCode, domtree::DomTree, defuse, narg
708708 if isa (incoming_val, NewSSAValue)
709709 push! (type_refine_phi, ssaval. id)
710710 end
711- typ = incoming_val == undef_token ? MaybeUndef (Union{}) : typ_for_val (incoming_val, ci, sptypes, - 1 , slottypes)
711+ typ = incoming_val === undef_token ? MaybeUndef (Union{}) : typ_for_val (incoming_val, ci, sptypes, - 1 , slottypes)
712712 old_entry = new_nodes. stmts[ssaval. id]
713713 if isa (typ, DelayedTyp)
714714 push! (type_refine_phi, ssaval. id)
0 commit comments