Index: src/x64/lithium-x64.h |
=================================================================== |
--- src/x64/lithium-x64.h (revision 6713) |
+++ src/x64/lithium-x64.h (working copy) |
@@ -84,6 +84,7 @@ |
V(ConstantD) \ |
V(ConstantI) \ |
V(ConstantT) \ |
+ V(Context) \ |
V(DeleteProperty) \ |
V(Deoptimize) \ |
V(DivI) \ |
@@ -1116,11 +1117,10 @@ |
}; |
-class LLoadFunctionPrototype: public LTemplateInstruction<1, 1, 1> { |
+class LLoadFunctionPrototype: public LTemplateInstruction<1, 1, 0> { |
public: |
- LLoadFunctionPrototype(LOperand* function, LOperand* temp) { |
+ explicit LLoadFunctionPrototype(LOperand* function) { |
inputs_[0] = function; |
- temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") |
@@ -1214,6 +1214,12 @@ |
}; |
+class LContext: public LTemplateInstruction<1, 0, 0> { |
+ public: |
+ DECLARE_CONCRETE_INSTRUCTION(Context, "context") |
+}; |
+ |
+ |
class LGlobalObject: public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(GlobalObject, "global-object") |