mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8005818: Shark: fix OSR for non-empty incoming stack
Reviewed-by: twisti
This commit is contained in:
parent
a0a0d0b65e
commit
ba649f4203
3 changed files with 8 additions and 1 deletions
|
@ -185,6 +185,9 @@ void SharkCompiler::compile_method(ciEnv* env,
|
|||
|
||||
// Build the LLVM IR for the method
|
||||
Function *function = SharkFunction::build(env, &builder, flow, name);
|
||||
if (env->failing()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Generate native code. It's unpleasant that we have to drop into
|
||||
// the VM to do this -- it blocks safepoints -- but I can't see any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue