Bug 905993 - Fix SetElementIC temp register. r=nbp, a=abillings
authorJan de Mooij <jdemooij@mozilla.com>
Tue, 20 Aug 2013 12:45:31 +0200
changeset 153804 3c47be93883efd8f0b91cff37de3749ec95965d6
parent 153803 a152af6e080ea29e776d83ea4afc481fe3003bbf
child 153805 610a1922dbe94f3330167f2aec44e85edbd13901
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnbp, abillings
bugs905993
milestone25.0a2
Bug 905993 - Fix SetElementIC temp register. r=nbp, a=abillings
js/src/ion/IonCaches.h
--- a/js/src/ion/IonCaches.h
+++ b/js/src/ion/IonCaches.h
@@ -732,17 +732,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 {