Index: src/hydrogen-check-elimination.cc |
diff --git a/src/hydrogen-check-elimination.cc b/src/hydrogen-check-elimination.cc |
index e12f14a13fb16b740fe6f4327970c5d77f7edca2..b869a08c950a28e3ee00294ebdc22e42660dba67 100644 |
--- a/src/hydrogen-check-elimination.cc |
+++ b/src/hydrogen-check-elimination.cc |
@@ -103,8 +103,8 @@ class HCheckTable : public ZoneObject { |
} |
default: { |
// If the instruction changes maps uncontrollably, drop everything. |
- if (instr->CheckGVNFlag(kChangesMaps) || |
- instr->CheckGVNFlag(kChangesOsrEntries)) { |
+ if (instr->CheckChangesFlag(kMaps) || |
+ instr->CheckChangesFlag(kOsrEntries)) { |
Kill(); |
} |
} |
@@ -332,7 +332,7 @@ class HCheckTable : public ZoneObject { |
Insert(object, MapConstant(instr->value())); |
} else { |
// If the instruction changes maps, it should be handled above. |
- CHECK(!instr->CheckGVNFlag(kChangesMaps)); |
+ CHECK(!instr->CheckChangesFlag(kMaps)); |
} |
} |
@@ -514,8 +514,8 @@ class HCheckMapsEffects : public ZoneObject { |
maps_stored_ = true; |
} |
default: { |
- maps_stored_ |= (instr->CheckGVNFlag(kChangesMaps) | |
- instr->CheckGVNFlag(kChangesElementsKind)); |
+ maps_stored_ |= (instr->CheckChangesFlag(kMaps) | |
+ instr->CheckChangesFlag(kElementsKind)); |
} |
} |
} |