Bug 578292 - TM: remove constant equality comparisons occurring for JSOP_ARGUMENTS on 64-bit. r=gal.

This commit is contained in:
Nicholas Nethercote 2010-07-13 18:03:59 -07:00
parent 6e61684380
commit 665d58d00d

View File

@ -10096,7 +10096,7 @@ TraceRecorder::record_JSOP_ARGUMENTS()
LIns* a_ins = get(&cx->fp->argsobj);
LIns* args_ins;
LIns* callee_ins = get(&cx->fp->argv[-2]);
if (a_ins->opcode() == LIR_immi) {
if (a_ins->isImmP()) {
// |arguments| is set to 0 by EnterFrame on this trace, so call to create it.
args_ins = newArguments(callee_ins);
} else {