Bug 853777: Remove unused variable 'cx' from CodeGenerator::visitApplyArgsGeneric(). r=kvijayan
authorDaniel Holbert <dholbert@cs.stanford.edu>
Fri, 22 Mar 2013 08:13:49 -0700
changeset 125926 a614c0fa8f761ba127f025a2ea015ddd50a4798e
parent 125925 e6d92226bac221bf65543960b8d7100353345a17
child 125927 bdf0d126c1b8b999b76b0fe75728412613665d66
push id25173
push userdholbert@mozilla.com
push dateFri, 22 Mar 2013 15:14:44 +0000
treeherdermozilla-inbound@1d7b2eafeebc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskvijayan
bugs853777
milestone22.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 853777: Remove unused variable 'cx' from CodeGenerator::visitApplyArgsGeneric(). r=kvijayan
js/src/ion/CodeGenerator.cpp
--- a/js/src/ion/CodeGenerator.cpp
+++ b/js/src/ion/CodeGenerator.cpp
@@ -1534,18 +1534,16 @@ CodeGenerator::emitPopArguments(LApplyAr
 {
     // Pop |this| and Arguments.
     masm.freeStack(extraStackSpace);
 }
 
 bool
 CodeGenerator::visitApplyArgsGeneric(LApplyArgsGeneric *apply)
 {
-    JSContext *cx = GetIonContext()->cx;
-
     // Holds the function object.
     Register calleereg = ToRegister(apply->getFunction());
 
     // Temporary register for modifying the function object.
     Register objreg = ToRegister(apply->getTempObject());
     Register copyreg = ToRegister(apply->getTempCopy());
 
     // Holds the function nargs. Initially undefined.