Bug 901799: Remove no-longer-used variable 'compartment' from MacroAssembler::checkInterruptFlagsPar(). r=bhackett
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 05 Aug 2013 23:28:50 -0400
changeset 141482 876c7f8cbe324c8a2d75537caa1d5f727762f114
parent 141481 ae1ca732d8206baf8f24afcc6ef4e27a70b24b64
child 141483 7d4e75a5d414bf05ccc20cdf180b4ede011593f2
push id32113
push userdholbert@mozilla.com
push dateTue, 06 Aug 2013 03:30:09 +0000
treeherdermozilla-inbound@876c7f8cbe32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhackett
bugs901799
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 901799: Remove no-longer-used variable 'compartment' from MacroAssembler::checkInterruptFlagsPar(). r=bhackett
js/src/ion/IonMacroAssembler.cpp
--- a/js/src/ion/IonMacroAssembler.cpp
+++ b/js/src/ion/IonMacroAssembler.cpp
@@ -699,18 +699,16 @@ MacroAssembler::compareStrings(JSOp op, 
 
     bind(&done);
 }
 
 void
 MacroAssembler::checkInterruptFlagsPar(const Register &tempReg,
                                             Label *fail)
 {
-    JSCompartment *compartment = GetIonContext()->compartment;
-
     void *interrupt = (void*)&GetIonContext()->runtime->interrupt;
     movePtr(ImmWord(interrupt), tempReg);
     load32(Address(tempReg, 0), tempReg);
     branchTest32(Assembler::NonZero, tempReg, tempReg, fail);
 }
 
 void
 MacroAssembler::maybeRemoveOsrFrame(Register scratch)