mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
Remove useless lazy evaluation of intrinsics; add LAST_COMPILER_INLINE to help categorize them Reviewed-by: kvn
This commit is contained in:
parent
7229ae9b95
commit
6515225d49
8 changed files with 75 additions and 58 deletions
|
@ -101,7 +101,8 @@ CallGenerator* Compile::find_intrinsic(ciMethod* m, bool is_virtual) {
|
|||
}
|
||||
}
|
||||
// Lazily create intrinsics for intrinsic IDs well-known in the runtime.
|
||||
if (m->intrinsic_id() != vmIntrinsics::_none) {
|
||||
if (m->intrinsic_id() != vmIntrinsics::_none &&
|
||||
m->intrinsic_id() <= vmIntrinsics::LAST_COMPILER_INLINE) {
|
||||
CallGenerator* cg = make_vm_intrinsic(m, is_virtual);
|
||||
if (cg != NULL) {
|
||||
// Save it for next time:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue