mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8157189: 'iload_w' in shared class is not interpreted correctly
Don't rewrite 'iload_w' to 'nofast_iload' in shared class. Reviewed-by: ccheung, hseigel
This commit is contained in:
parent
4543e25bd3
commit
5b19c425fa
1 changed files with 6 additions and 1 deletions
|
@ -191,7 +191,12 @@ static void rewrite_nofast_bytecode(Method* method) {
|
|||
case Bytecodes::_getfield: *bcs.bcp() = Bytecodes::_nofast_getfield; break;
|
||||
case Bytecodes::_putfield: *bcs.bcp() = Bytecodes::_nofast_putfield; break;
|
||||
case Bytecodes::_aload_0: *bcs.bcp() = Bytecodes::_nofast_aload_0; break;
|
||||
case Bytecodes::_iload: *bcs.bcp() = Bytecodes::_nofast_iload; break;
|
||||
case Bytecodes::_iload: {
|
||||
if (!bcs.is_wide()) {
|
||||
*bcs.bcp() = Bytecodes::_nofast_iload;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue