From 665d58d00db2b6d15d2d9beda97c2375d5547a9d Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 13 Jul 2010 18:03:59 -0700 Subject: [PATCH] Bug 578292 - TM: remove constant equality comparisons occurring for JSOP_ARGUMENTS on 64-bit. r=gal. --- js/src/jstracer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index 056fe3790d8e..3305fc1c0bb6 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -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 {