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:
Heiher 2016-08-24 23:59:55 +08:00
Родитель 58795e939e
Коммит a2d3815921
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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);