Mercurial > hg > truffle
comparison src/share/vm/shark/sharkCompiler.cpp @ 7600:c095a7f289aa
8005818: Shark: fix OSR for non-empty incoming stack
Reviewed-by: twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Fri, 11 Jan 2013 16:47:23 -0800 |
parents | 2cd5e15048e6 |
children | 3ac7d10a6572 469216acdb28 |
comparison
equal
deleted
inserted
replaced
7599:c566b81b3323 | 7600:c095a7f289aa |
---|---|
183 // Emit the entry point | 183 // Emit the entry point |
184 SharkEntry *entry = (SharkEntry *) cb.malloc(sizeof(SharkEntry)); | 184 SharkEntry *entry = (SharkEntry *) cb.malloc(sizeof(SharkEntry)); |
185 | 185 |
186 // Build the LLVM IR for the method | 186 // Build the LLVM IR for the method |
187 Function *function = SharkFunction::build(env, &builder, flow, name); | 187 Function *function = SharkFunction::build(env, &builder, flow, name); |
188 if (env->failing()) { | |
189 return; | |
190 } | |
188 | 191 |
189 // Generate native code. It's unpleasant that we have to drop into | 192 // Generate native code. It's unpleasant that we have to drop into |
190 // the VM to do this -- it blocks safepoints -- but I can't see any | 193 // the VM to do this -- it blocks safepoints -- but I can't see any |
191 // other way to handle the locking. | 194 // other way to handle the locking. |
192 { | 195 { |