| Index: runtime/vm/intermediate_language.h
|
| diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
|
| index 7ca24c2d32ace6b68e649f811c3d3ed7c7f681ab..15dca062ad20bc295d94f8949ed7c1815846d575 100644
|
| --- a/runtime/vm/intermediate_language.h
|
| +++ b/runtime/vm/intermediate_language.h
|
| @@ -1114,7 +1114,7 @@ class PhiIterator : public ValueObject {
|
| public:
|
| explicit PhiIterator(JoinEntryInstr* join)
|
| : phis_(join->phis()), index_(-1) {
|
| - if (!Done()) Advance(); // Advance to the first phi.
|
| + if (!Done()) Advance(); // Advance to the first smi.
|
| }
|
|
|
| void Advance() {
|
| @@ -1362,6 +1362,7 @@ class PhiInstr : public Definition {
|
| // Phi is alive if it reaches a non-environment use.
|
| bool is_alive() const { return is_alive_; }
|
| void mark_alive() { is_alive_ = true; }
|
| + void mark_dead() { is_alive_ = false; }
|
|
|
| virtual Representation RequiredInputRepresentation(intptr_t i) const {
|
| return representation_;
|
|
|