diff options
Diffstat (limited to 'vm/compiler/codegen/arm/Assemble.c')
-rw-r--r-- | vm/compiler/codegen/arm/Assemble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/codegen/arm/Assemble.c b/vm/compiler/codegen/arm/Assemble.c index 6a59c7ea1..998c95585 100644 --- a/vm/compiler/codegen/arm/Assemble.c +++ b/vm/compiler/codegen/arm/Assemble.c @@ -1328,7 +1328,7 @@ void* dvmJitChain(void* tgtAddr, u4* branchAddr) u4 newInst; bool thumbTarget; - if (gDvm.sumThreadSuspendCount == 0) { + if ((gDvmJit.pProfTable != NULL) && gDvm.sumThreadSuspendCount == 0) { assert((branchOffset >= -(1<<22)) && (branchOffset <= ((1<<22)-2))); gDvmJit.translationChains++; |