diff options
Diffstat (limited to 'vm/mterp/c/gotoTargets.c')
-rw-r--r-- | vm/mterp/c/gotoTargets.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vm/mterp/c/gotoTargets.c b/vm/mterp/c/gotoTargets.c index f52e3f020..37eaa2051 100644 --- a/vm/mterp/c/gotoTargets.c +++ b/vm/mterp/c/gotoTargets.c @@ -836,6 +836,9 @@ GOTO_TARGET(invokeMethod, bool methodCallRange, const Method* _methodToCall, #endif newSaveArea->prevFrame = fp; newSaveArea->savedPc = pc; +#if defined(WITH_JIT) + newSaveArea->returnAddr = 0; +#endif newSaveArea->method = methodToCall; if (!dvmIsNativeMethod(methodToCall)) { @@ -929,4 +932,3 @@ GOTO_TARGET(invokeMethod, bool methodCallRange, const Method* _methodToCall, } assert(false); // should not get here GOTO_TARGET_END - |