Mercurial > hg > truffle
comparison src/share/vm/opto/parse2.cpp @ 1565:ab102d5d923e
6939207: refactor constant pool index processing
Summary: Factored cleanup of instruction decode which prepares for enhanced ldc semantics.
Reviewed-by: twisti
author | jrose |
---|---|
date | Sun, 23 May 2010 01:38:26 -0700 |
parents | 6deeaebad47a |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1564:61b2245abf36 | 1565:ab102d5d923e |
---|---|
1315 case Bytecodes::_iconst_1: push(intcon( 1)); break; | 1315 case Bytecodes::_iconst_1: push(intcon( 1)); break; |
1316 case Bytecodes::_iconst_2: push(intcon( 2)); break; | 1316 case Bytecodes::_iconst_2: push(intcon( 2)); break; |
1317 case Bytecodes::_iconst_3: push(intcon( 3)); break; | 1317 case Bytecodes::_iconst_3: push(intcon( 3)); break; |
1318 case Bytecodes::_iconst_4: push(intcon( 4)); break; | 1318 case Bytecodes::_iconst_4: push(intcon( 4)); break; |
1319 case Bytecodes::_iconst_5: push(intcon( 5)); break; | 1319 case Bytecodes::_iconst_5: push(intcon( 5)); break; |
1320 case Bytecodes::_bipush: push(intcon( iter().get_byte())); break; | 1320 case Bytecodes::_bipush: push(intcon(iter().get_constant_u1())); break; |
1321 case Bytecodes::_sipush: push(intcon( iter().get_short())); break; | 1321 case Bytecodes::_sipush: push(intcon(iter().get_constant_u2())); break; |
1322 case Bytecodes::_aconst_null: push(null()); break; | 1322 case Bytecodes::_aconst_null: push(null()); break; |
1323 case Bytecodes::_ldc: | 1323 case Bytecodes::_ldc: |
1324 case Bytecodes::_ldc_w: | 1324 case Bytecodes::_ldc_w: |
1325 case Bytecodes::_ldc2_w: | 1325 case Bytecodes::_ldc2_w: |
1326 // If the constant is unresolved, run this BC once in the interpreter. | 1326 // If the constant is unresolved, run this BC once in the interpreter. |