[INFER] Fix orange.
authorBrian Hackett <bhackett1024@gmail.com>
Sat, 27 Aug 2011 20:28:24 -0700
changeset 77468 b7fb4912796d16336af4ee8d20393a973597240b
parent 77467 9a017236840241c0acd4367775a444db3bb7765e
child 77469 b8092cccaead83902d4a263b388894cc290bb1ca
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
[INFER] Fix orange.
js/src/jit-test/tests/jaeger/bug682345.js
js/src/jsinterp.cpp
--- a/js/src/jit-test/tests/jaeger/bug682345.js
+++ b/js/src/jit-test/tests/jaeger/bug682345.js
@@ -1,8 +1,9 @@
+// |jit-test| error: TypeError
 
 for (var i = 0; i <= 0x017f; i++) {
     var U = new Unicode(i);
 }
 function Unicode(c) {
     u = GetUnicodeValues(c);
     this.upper = u[0];
 }
--- a/js/src/jsinterp.cpp
+++ b/js/src/jsinterp.cpp
@@ -2326,16 +2326,18 @@ check_backedge:
         JS_ASSERT_IF(cx->isExceptionPending(), r == MONITOR_ERROR);
         RESTORE_INTERP_VARS_CHECK_EXCEPTION();
         op = (JSOp) *regs.pc;
         DO_OP();
     }
 #endif /* JS_TRACER */
 
 #ifdef JS_METHODJIT
+    if (!useMethodJIT)
+        DO_OP();
     mjit::CompileStatus status =
         mjit::CanMethodJITAtBranch(cx, script, regs.fp(), regs.pc);
     if (status == mjit::Compile_Error)
         goto error;
     if (status == mjit::Compile_Okay) {
         void *ncode =
             script->nativeCodeForPC(regs.fp()->isConstructing(), regs.pc);
         mjit::JaegerStatus status =