Bug 905993 - Fix SetElementIC temp register. r=nbp
authorJan de Mooij <jdemooij@mozilla.com>
Tue, 20 Aug 2013 12:45:31 +0200
changeset 156127 a3788b3195665d35f224b4a297bfa6bc9c9f6e89
parent 156126 342c800534ab2486f28b110d585da44f2bb26df5
child 156128 b58b09143e5ebb334926d0818258fa5f75908be6
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp
bugs905993
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 905993 - Fix SetElementIC temp register. r=nbp
js/src/jit/IonCaches.h
--- a/js/src/jit/IonCaches.h
+++ b/js/src/jit/IonCaches.h
@@ -773,17 +773,17 @@ class SetElementIC : public RepatchIonCa
     CACHE_HEADER(SetElement)
 
     void reset();
 
     Register object() const {
         return object_;
     }
     Register tempToUnboxIndex() const {
-        return temp_;
+        return tempToUnboxIndex_;
     }
     Register temp() const {
         return temp_;
     }
     ValueOperand index() const {
         return index_;
     }
     ConstantOrRegister value() const {