Index: src/hydrogen-instructions.h |
=================================================================== |
--- src/hydrogen-instructions.h (revision 11812) |
+++ src/hydrogen-instructions.h (working copy) |
@@ -1469,7 +1469,7 @@ |
class HThisFunction: public HTemplateInstruction<0> { |
public: |
- explicit HThisFunction(Handle<JSFunction> closure) : closure_(closure) { |
+ HThisFunction() { |
set_representation(Representation::Tagged()); |
SetFlag(kUseGVN); |
} |
@@ -1478,18 +1478,10 @@ |
return Representation::None(); |
} |
- Handle<JSFunction> closure() const { return closure_; } |
- |
DECLARE_CONCRETE_INSTRUCTION(ThisFunction) |
protected: |
- virtual bool DataEquals(HValue* other) { |
- HThisFunction* b = HThisFunction::cast(other); |
- return *closure() == *b->closure(); |
- } |
- |
- private: |
- Handle<JSFunction> closure_; |
+ virtual bool DataEquals(HValue* other) { return true; } |
}; |