Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index b3a20cf6914dbae8373dec50475ea77356a3d1a6..00642ff5a9ce98be47e0d6b55c8c3144f09e22a8 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -160,6 +160,7 @@ class LCodeGen; |
V(SmiTag) \ |
V(SmiUntag) \ |
V(StackCheck) \ |
+ V(StoreCodeEntry) \ |
V(StoreContextSlot) \ |
V(StoreGlobalCell) \ |
V(StoreGlobalGeneric) \ |
@@ -1693,7 +1694,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; |