Index: src/hydrogen-load-elimination.cc |
diff --git a/src/hydrogen-load-elimination.cc b/src/hydrogen-load-elimination.cc |
index 5f69625bb9990bb9bd7762b0c1615e414924dc6e..56839b294891d218749744551358b0e8f063935d 100644 |
--- a/src/hydrogen-load-elimination.cc |
+++ b/src/hydrogen-load-elimination.cc |
@@ -99,25 +99,25 @@ class HLoadEliminationTable : public ZoneObject { |
break; |
} |
default: { |
- if (instr->CheckChangesFlag(kInobjectFields)) { |
+ if (instr->CheckGVNFlag(kChangesInobjectFields)) { |
TRACE((" kill-all i%d\n", instr->id())); |
Kill(); |
break; |
} |
- if (instr->CheckChangesFlag(kMaps)) { |
+ if (instr->CheckGVNFlag(kChangesMaps)) { |
TRACE((" kill-maps i%d\n", instr->id())); |
KillOffset(JSObject::kMapOffset); |
} |
- if (instr->CheckChangesFlag(kElementsKind)) { |
+ if (instr->CheckGVNFlag(kChangesElementsKind)) { |
TRACE((" kill-elements-kind i%d\n", instr->id())); |
KillOffset(JSObject::kMapOffset); |
KillOffset(JSObject::kElementsOffset); |
} |
- if (instr->CheckChangesFlag(kElementsPointer)) { |
+ if (instr->CheckGVNFlag(kChangesElementsPointer)) { |
TRACE((" kill-elements i%d\n", instr->id())); |
KillOffset(JSObject::kElementsOffset); |
} |
- if (instr->CheckChangesFlag(kOsrEntries)) { |
+ if (instr->CheckGVNFlag(kChangesOsrEntries)) { |
TRACE((" kill-osr i%d\n", instr->id())); |
Kill(); |
} |
@@ -454,11 +454,11 @@ class HLoadEliminationEffects : public ZoneObject { |
elements_stored_ = true; |
} |
default: { |
- fields_stored_ |= instr->CheckChangesFlag(kInobjectFields); |
- maps_stored_ |= instr->CheckChangesFlag(kMaps); |
- maps_stored_ |= instr->CheckChangesFlag(kElementsKind); |
- elements_stored_ |= instr->CheckChangesFlag(kElementsKind); |
- elements_stored_ |= instr->CheckChangesFlag(kElementsPointer); |
+ fields_stored_ |= instr->CheckGVNFlag(kChangesInobjectFields); |
+ maps_stored_ |= instr->CheckGVNFlag(kChangesMaps); |
+ maps_stored_ |= instr->CheckGVNFlag(kChangesElementsKind); |
+ elements_stored_ |= instr->CheckGVNFlag(kChangesElementsKind); |
+ elements_stored_ |= instr->CheckGVNFlag(kChangesElementsPointer); |
} |
} |
} |