Bug 1199080 - IonMonkey: MIPS32: Fix treating saved frame bit as part of the frame type. r=nbp

This commit is contained in:
Heiher 2015-08-26 21:36:00 +02:00
parent e2e560d22e
commit 9bf32f2bda

View File

@ -1146,7 +1146,7 @@ JitRuntime::generateProfilerExitFrameTailStub(JSContext* cx)
// Going into the conditionals, we will have:
// FrameDescriptor.size in scratch1
// FrameDescriptor.type in scratch2
masm.ma_and(scratch2, scratch1, Imm32((1 << FRAMESIZE_SHIFT) - 1));
masm.ma_and(scratch2, scratch1, Imm32((1 << FRAMETYPE_BITS) - 1));
masm.rshiftPtr(Imm32(FRAMESIZE_SHIFT), scratch1);
// Handling of each case is dependent on FrameDescriptor.type