Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index a6a25261ea446c6457a16bea6521f0e468e80e07..e8a3baf0f84e5a73eedce49490971859fe50b165 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -161,6 +161,7 @@ class LCodeGen; |
V(SmiTag) \ |
V(SmiUntag) \ |
V(StackCheck) \ |
+ V(StoreCodeEntry) \ |
V(StoreContextSlot) \ |
V(StoreGlobalCell) \ |
V(StoreGlobalGeneric) \ |
@@ -1777,7 +1778,24 @@ class LDrop V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
}; |
-class LInnerAllocatedObject V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LStoreCodeEntry V8_FINAL: public LTemplateInstruction<0, 1, 1> { |
+ public: |
+ LStoreCodeEntry(LOperand* function, LOperand* code_object) { |
+ inputs_[0] = function; |
+ temps_[0] = code_object; |
+ } |
+ |
+ LOperand* function() { return inputs_[0]; } |
+ LOperand* code_object() { return temps_[0]; } |
+ |
+ virtual void PrintDataTo(StringStream* stream); |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(StoreCodeEntry, "store-code-entry") |
+ DECLARE_HYDROGEN_ACCESSOR(StoreCodeEntry) |
+}; |
+ |
+ |
+class LInnerAllocatedObject V8_FINAL: public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LInnerAllocatedObject(LOperand* base_object) { |
inputs_[0] = base_object; |