Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index e92922bda3373282f8b7addcbc4b807836a0ec39..56b53e0158fdc6f2eb8d9630e7c74c278cb41425 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -20,6 +20,7 @@ class LCodeGen; |
#define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ |
V(AccessArgumentsAt) \ |
V(AddI) \ |
+ V(AllocateBlockContext) \ |
V(Allocate) \ |
V(ApplyArguments) \ |
V(ArgumentsElements) \ |
@@ -137,6 +138,7 @@ class LCodeGen; |
V(StackCheck) \ |
V(StoreCodeEntry) \ |
V(StoreContextSlot) \ |
+ V(StoreFrameContext) \ |
V(StoreGlobalCell) \ |
V(StoreKeyed) \ |
V(StoreKeyedGeneric) \ |
@@ -2649,6 +2651,35 @@ class LLoadFieldByIndex V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
+class LStoreFrameContext: public LTemplateInstruction<0, 1, 0> { |
+ public: |
+ explicit LStoreFrameContext(LOperand* context) { |
+ inputs_[0] = context; |
+ } |
+ |
+ LOperand* context() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(StoreFrameContext, "store-frame-context") |
+}; |
+ |
+ |
+class LAllocateBlockContext: public LTemplateInstruction<1, 2, 0> { |
+ public: |
+ LAllocateBlockContext(LOperand* context, LOperand* function) { |
+ inputs_[0] = context; |
+ inputs_[1] = function; |
+ } |
+ |
+ LOperand* context() { return inputs_[0]; } |
+ LOperand* function() { return inputs_[1]; } |
+ |
+ Handle<ScopeInfo> scope_info() { return hydrogen()->scope_info(); } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(AllocateBlockContext, "allocate-block-context") |
+ DECLARE_HYDROGEN_ACCESSOR(AllocateBlockContext) |
+}; |
+ |
+ |
class LChunkBuilder; |
class LPlatformChunk V8_FINAL : public LChunk { |
public: |