Bug 1248007 part 2 - Remove unused This operands from LCallDirectEval. r=nbp
authorJan de Mooij <jdemooij@mozilla.com>
Fri, 19 Feb 2016 09:48:02 +0100
changeset 307814 cc1f785b9187a881d06bd3258b1c60a47d4ee820
parent 307813 1b752ce8f7befcce0130a3d6d20684483f1b2703
child 307815 1a35a3779c7f6722e6547b02d00f232506b7fc9d
push id9214
push userraliiev@mozilla.com
push dateMon, 07 Mar 2016 14:25:21 +0000
treeherdermozilla-aurora@8849dd1a4a79 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs1248007
milestone47.0a1
Bug 1248007 part 2 - Remove unused This operands from LCallDirectEval. r=nbp
js/src/jit/shared/LIR-shared.h
--- a/js/src/jit/shared/LIR-shared.h
+++ b/js/src/jit/shared/LIR-shared.h
@@ -1987,31 +1987,30 @@ class LGetDynamicName : public LCallInst
     const LDefinition* temp2() {
         return getTemp(1);
     }
     const LDefinition* temp3() {
         return getTemp(2);
     }
 };
 
-class LCallDirectEval : public LCallInstructionHelper<BOX_PIECES, 2 + (2 * BOX_PIECES), 0>
+class LCallDirectEval : public LCallInstructionHelper<BOX_PIECES, 2 + BOX_PIECES, 0>
 {
   public:
     LIR_HEADER(CallDirectEval)
 
     LCallDirectEval(const LAllocation& scopeChain, const LAllocation& string,
                     const LBoxAllocation& newTarget)
     {
         setOperand(0, scopeChain);
         setOperand(1, string);
         setBoxOperand(NewTarget, newTarget);
     }
 
-    static const size_t ThisValue = 2;
-    static const size_t NewTarget = 2 + BOX_PIECES;
+    static const size_t NewTarget = 2;
 
     MCallDirectEval* mir() const {
         return mir_->toCallDirectEval();
     }
 
     const LAllocation* getScopeChain() {
         return getOperand(0);
     }