зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1014083: Revert taking initial adjustment offset into account when computing stack slot offsets; r=luke
This commit is contained in:
Родитель
d1365e73a4
Коммит
500c4928c9
|
@ -70,10 +70,8 @@ CodeGeneratorShared::CodeGeneratorShared(MIRGenerator *gen, LIRGraph *graph, Mac
|
|||
// (like x64) which require the stack to be aligned.
|
||||
if (StackKeptAligned || gen->needsInitialStackAlignment()) {
|
||||
unsigned alignmentAtCall = AlignmentAtAsmJSPrologue + frameDepth_;
|
||||
if (unsigned rem = alignmentAtCall % StackAlignment) {
|
||||
frameInitialAdjustment_ = StackAlignment - rem;
|
||||
frameDepth_ += frameInitialAdjustment_;
|
||||
}
|
||||
if (unsigned rem = alignmentAtCall % StackAlignment)
|
||||
frameDepth_ += StackAlignment - rem;
|
||||
}
|
||||
|
||||
// FrameSizeClass is only used for bailing, which cannot happen in
|
||||
|
|
Загрузка…
Ссылка в новой задаче