зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1297581 - IonMonkey: MIPS64: Fix crash on running octane richards. r=jonco
--- js/src/jit/mips64/MacroAssembler-mips64.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
This commit is contained in:
Родитель
58795e939e
Коммит
a2d3815921
|
@ -2293,9 +2293,9 @@ MacroAssembler::branchValueIsNurseryObjectImpl(Condition cond, const T& value, R
|
|||
Label done;
|
||||
branchTestObject(Assembler::NotEqual, value, cond == Assembler::Equal ? &done : label);
|
||||
|
||||
extractObject(value, temp);
|
||||
orPtr(Imm32(gc::ChunkMask), temp);
|
||||
branch32(cond, Address(temp, gc::ChunkLocationOffsetFromLastByte),
|
||||
extractObject(value, SecondScratchReg);
|
||||
orPtr(Imm32(gc::ChunkMask), SecondScratchReg);
|
||||
branch32(cond, Address(SecondScratchReg, gc::ChunkLocationOffsetFromLastByte),
|
||||
Imm32(int32_t(gc::ChunkLocation::Nursery)), label);
|
||||
|
||||
bind(&done);
|
||||
|
|
Загрузка…
Ссылка в новой задаче