OSDN Git Service

Accept JitOff as a legal state in the debug interpreter when JIT is configured.
authorBen Cheng <bccheng@google.com>
Tue, 13 Oct 2009 20:26:40 +0000 (13:26 -0700)
committerBen Cheng <bccheng@google.com>
Tue, 13 Oct 2009 20:26:40 +0000 (13:26 -0700)
vm/interp/Jit.c

index 68137a0..d8dcf1e 100644 (file)
@@ -643,6 +643,9 @@ int dvmCheckJit(const u2* pc, Thread* self, InterpState* interpState)
             }
             break;
 #endif
+        /* If JIT is off stay out of interpreter selections */
+        case kJitOff:
+            break;
         default:
             if (!debugOrProfile) {
                 LOGE("Unexpected JIT state: %d", interpState->jitState);