Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 3f48e50e22d765c3f6a26d2f82ec798dd7752a1a..efd4ab551364a610deab53c66953418c12616b3d 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -130,6 +130,7 @@ class LGapNode; |
// LIsSmiAndBranch |
// LLoadNamedField |
// LLoadNamedGeneric |
+// LLoadFunctionPrototype |
// LNumberTagD |
// LNumberTagI |
// LPushArgument |
@@ -226,6 +227,7 @@ class LGapNode; |
V(LoadKeyedGeneric) \ |
V(LoadNamedField) \ |
V(LoadNamedGeneric) \ |
+ V(LoadFunctionPrototype) \ |
V(ModI) \ |
V(MulI) \ |
V(NumberTagD) \ |
@@ -1271,6 +1273,22 @@ class LLoadNamedGeneric: public LUnaryOperation { |
}; |
+class LLoadFunctionPrototype: public LUnaryOperation { |
+ public: |
+ LLoadFunctionPrototype(LOperand* function, LOperand* temporary) |
+ : LUnaryOperation(function), temporary_(temporary) { } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(LoadFunctionPrototype, "load-function-prototype") |
+ DECLARE_HYDROGEN_ACCESSOR(LoadFunctionPrototype) |
+ |
+ LOperand* function() const { return input(); } |
+ LOperand* temporary() const { return temporary_; } |
+ |
+ private: |
+ LOperand* temporary_; |
+}; |
+ |
+ |
class LLoadElements: public LUnaryOperation { |
public: |
explicit LLoadElements(LOperand* obj) : LUnaryOperation(obj) { } |