Bug 785500 - Remove the unused CrossScriptSSA::cx member; r=luke
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 24 Aug 2012 17:14:18 -0400
changeset 105387 ee747ea1354fdd302c34b092806b63eb046381b7
parent 105386 50430d101d34fbd28d5e02d20eac5d6878025287
child 105388 7058cad952ca4057bd5c009279f234cefa1ae038
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersluke
bugs785500
milestone17.0a1
Bug 785500 - Remove the unused CrossScriptSSA::cx member; r=luke
js/src/jsanalyze.h
--- a/js/src/jsanalyze.h
+++ b/js/src/jsanalyze.h
@@ -1282,24 +1282,22 @@ class CrossScriptSSA
 
     bool addInlineFrame(JSScript *script, uint32_t depth, uint32_t parent, jsbytecode *parentpc)
     {
         uint32_t index = inlineFrames.length();
         return inlineFrames.append(Frame(index, script, depth, parent, parentpc));
     }
 
     CrossScriptSSA(JSContext *cx, JSScript *outer)
-        : cx(cx), outerFrame(OUTER_FRAME, outer, 0, INVALID_FRAME, NULL), inlineFrames(cx)
+        : outerFrame(OUTER_FRAME, outer, 0, INVALID_FRAME, NULL), inlineFrames(cx)
     {}
 
     CrossSSAValue foldValue(const CrossSSAValue &cv);
 
   private:
-    JSContext *cx;
-
     Frame outerFrame;
     Vector<Frame> inlineFrames;
 };
 
 #ifdef DEBUG
 void PrintBytecode(JSContext *cx, JSScript *script, jsbytecode *pc);
 #endif