Index: src/crankshaft/hydrogen-instructions.h |
diff --git a/src/crankshaft/hydrogen-instructions.h b/src/crankshaft/hydrogen-instructions.h |
index 196a14fc705533c86e6cbf1ccf1ae10941606ee4..23f3c575277aa4cee5c6029deca7200c82899ed4 100644 |
--- a/src/crankshaft/hydrogen-instructions.h |
+++ b/src/crankshaft/hydrogen-instructions.h |
@@ -5226,10 +5226,7 @@ class HLoadContextSlot final : public HUnaryOperation { |
// hole value. This is used for checking for loading of uninitialized |
// harmony bindings where we deoptimize into full-codegen generated code |
// which will subsequently throw a reference error. |
- kCheckDeoptimize, |
- // Load and check the value of the context slot. Return undefined if it's |
- // the hole value. This is used for non-harmony const assignments |
- kCheckReturnUndefined |
+ kCheckDeoptimize |
}; |
HLoadContextSlot(HValue* context, int slot_index, Mode mode) |
@@ -5282,9 +5279,7 @@ class HStoreContextSlot final : public HTemplateInstruction<2> { |
// hole value. This is used for checking for assignments to uninitialized |
// harmony bindings where we deoptimize into full-codegen generated code |
// which will subsequently throw a reference error. |
- kCheckDeoptimize, |
- // Check the previous value and ignore assignment if it isn't a hole value |
- kCheckIgnoreAssignment |
+ kCheckDeoptimize |
}; |
DECLARE_INSTRUCTION_FACTORY_P4(HStoreContextSlot, HValue*, int, |