Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/compileBroker.cpp @ 9026:22851e342f0e
Make calling the installed code from compiled code possible.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 12 Apr 2013 04:49:07 +0200 |
parents | b9a918201d47 |
children | 89e4d67fdd2a |
comparison
equal
deleted
inserted
replaced
9025:ff5a32117e02 | 9026:22851e342f0e |
---|---|
1223 const char* comment, Thread* THREAD) { | 1223 const char* comment, Thread* THREAD) { |
1224 // make sure arguments make sense | 1224 // make sure arguments make sense |
1225 assert(method->method_holder()->oop_is_instance(), "not an instance method"); | 1225 assert(method->method_holder()->oop_is_instance(), "not an instance method"); |
1226 assert(osr_bci == InvocationEntryBci || (0 <= osr_bci && osr_bci < method->code_size()), "bci out of range"); | 1226 assert(osr_bci == InvocationEntryBci || (0 <= osr_bci && osr_bci < method->code_size()), "bci out of range"); |
1227 assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native()), "cannot compile abstract/native methods"); | 1227 assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native()), "cannot compile abstract/native methods"); |
1228 assert(!method->method_holder()->is_not_initialized(), "method holder must be initialized"); | 1228 assert(!method->method_holder()->is_not_initialized() || method->intrinsic_id() == vmIntrinsics::_CompilerToVMImpl_executeCompiledMethod, "method holder must be initialized"); |
1229 | 1229 |
1230 if (!TieredCompilation) { | 1230 if (!TieredCompilation) { |
1231 comp_level = CompLevel_highest_tier; | 1231 comp_level = CompLevel_highest_tier; |
1232 } | 1232 } |
1233 | 1233 |