Bug 814552 align localSlotCount for ARM (r=dvander)
authorMarty Rosenberg <mrosenberg@mozilla.com>
Tue, 02 Apr 2013 23:03:06 -0400
changeset 127469 538ec52a91565157e869131f8850e612543bc1e9
parent 127468 e418e51231681da7eee4ffd2fbef59905f288684
child 127470 4a5b662231b8e0ade07a81f5ccce89894d73973d
push id24506
push userryanvm@gmail.com
push dateWed, 03 Apr 2013 22:14:39 +0000
treeherdermozilla-central@475dc5f51bdb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdvander
bugs814552
milestone23.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 814552 align localSlotCount for ARM (r=dvander)
js/src/ion/LIR.h
--- a/js/src/ion/LIR.h
+++ b/js/src/ion/LIR.h
@@ -1303,17 +1303,17 @@ class LIRGraph
     }
     uint32_t numInstructions() const {
         return numInstructions_;
     }
     void setLocalSlotCount(uint32_t localSlotCount) {
         localSlotCount_ = localSlotCount;
     }
     uint32_t localSlotCount() const {
-        return localSlotCount_;
+        return AlignBytes(localSlotCount_, StackAlignment / STACK_SLOT_SIZE);
     }
     void setArgumentSlotCount(uint32_t argumentSlotCount) {
         argumentSlotCount_ = argumentSlotCount;
     }
     uint32_t argumentSlotCount() const {
         return argumentSlotCount_;
     }
     uint32_t totalSlotCount() const {