Mercurial > hg > graal-compiler
comparison src/share/vm/shark/sharkCompiler.cpp @ 7643:3ac7d10a6572
Merge with hsx25/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 31 Jan 2013 15:42:25 +0100 |
parents | 291ffc492eb6 c095a7f289aa |
children | 096c224171c4 |
comparison
equal
deleted
inserted
replaced
7573:17b6a63fe7c2 | 7643:3ac7d10a6572 |
---|---|
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 { |