| Index: src/hydrogen-instructions.h
|
| ===================================================================
|
| --- src/hydrogen-instructions.h (revision 11527)
|
| +++ src/hydrogen-instructions.h (working copy)
|
| @@ -1461,7 +1461,7 @@
|
|
|
| class HThisFunction: public HTemplateInstruction<0> {
|
| public:
|
| - explicit HThisFunction(Handle<JSFunction> closure) : closure_(closure) {
|
| + HThisFunction() {
|
| set_representation(Representation::Tagged());
|
| SetFlag(kUseGVN);
|
| }
|
| @@ -1470,18 +1470,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; }
|
| };
|
|
|
|
|
|
|