mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
6912064: type profiles need to be exploited more for dynamic language support
Reviewed-by: kvn
This commit is contained in:
parent
a54b1ff70e
commit
c7e50e8305
8 changed files with 204 additions and 64 deletions
|
@ -119,7 +119,11 @@ void Parse::do_instanceof() {
|
|||
}
|
||||
|
||||
// Push the bool result back on stack
|
||||
push( gen_instanceof( pop(), makecon(TypeKlassPtr::make(klass)) ) );
|
||||
Node* res = gen_instanceof(peek(), makecon(TypeKlassPtr::make(klass)));
|
||||
|
||||
// Pop from stack AFTER gen_instanceof because it can uncommon trap.
|
||||
pop();
|
||||
push(res);
|
||||
}
|
||||
|
||||
//------------------------------array_store_check------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue