mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6939207: refactor constant pool index processing
Factored cleanup of instruction decode which prepares for enhanced ldc semantics. Reviewed-by: twisti
This commit is contained in:
parent
2e24ba80e9
commit
581521ba96
40 changed files with 875 additions and 592 deletions
|
@ -1317,8 +1317,8 @@ void Parse::do_one_bytecode() {
|
|||
case Bytecodes::_iconst_3: push(intcon( 3)); break;
|
||||
case Bytecodes::_iconst_4: push(intcon( 4)); break;
|
||||
case Bytecodes::_iconst_5: push(intcon( 5)); break;
|
||||
case Bytecodes::_bipush: push(intcon( iter().get_byte())); break;
|
||||
case Bytecodes::_sipush: push(intcon( iter().get_short())); break;
|
||||
case Bytecodes::_bipush: push(intcon(iter().get_constant_u1())); break;
|
||||
case Bytecodes::_sipush: push(intcon(iter().get_constant_u2())); break;
|
||||
case Bytecodes::_aconst_null: push(null()); break;
|
||||
case Bytecodes::_ldc:
|
||||
case Bytecodes::_ldc_w:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue