Index: src/hydrogen-load-elimination.cc |
diff --git a/src/hydrogen-load-elimination.cc b/src/hydrogen-load-elimination.cc |
index ea12df865d7b0d91a43eb6f7162374e538509afb..fbdcb2d35970522e04ecab5f258a31d373d7e00d 100644 |
--- a/src/hydrogen-load-elimination.cc |
+++ b/src/hydrogen-load-elimination.cc |
@@ -214,8 +214,8 @@ class HLoadEliminationTable : public ZoneObject { |
// the stored values are the same), return NULL indicating that this store |
// instruction is redundant. Otherwise, return {instr}. |
HValue* store(HStoreNamedField* instr) { |
- if (instr->store_mode() == PREINITIALIZING_STORE) { |
- TRACE((" skipping preinitializing store\n")); |
+ if (!instr->access().existing_inobject_property()) { |
+ TRACE((" skipping non existing property initialization store\n")); |
return instr; |
} |