Bug 558618 - bustage fix
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 25 Jun 2010 17:53:23 -0400
changeset 34392 02eb574eb149daead123bb91fc0ac4d63ab31a17
parent 34391 1d65ace08a257c0ab236c29963e3bb359a6d680f
child 34393 a13aea546f91390a845b1d8d50c5a50b0c73969d
push id1433
push usereakhgari@mozilla.com
push dateFri, 25 Jun 2010 21:53:47 +0000
bugs558618
milestone1.9.2.6pre
Bug 558618 - bustage fix
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -13171,17 +13171,17 @@ TraceRecorder::record_JSOP_NOP()
 
 JS_REQUIRES_STACK JSRecordingStatus
 TraceRecorder::record_JSOP_ARGSUB()
 {
     JSStackFrame* fp = cx->fp;
     if (!(fp->fun->flags & JSFUN_HEAVYWEIGHT)) {
         uintN slot = GET_ARGNO(fp->regs->pc);
         if (slot >= fp->argc)
-            RETURN_STOP_A("can't trace out-of-range arguments");
+            ABORT_TRACE("can't trace out-of-range arguments");
         stack(0, get(&cx->fp->argv[slot]));
         return JSRS_CONTINUE;
     }
     ABORT_TRACE("can't trace JSOP_ARGSUB hard case");
 }
 
 JS_REQUIRES_STACK LIns*
 TraceRecorder::guardArgsLengthNotAssigned(LIns* argsobj_ins)