Mercurial > hg > truffle
diff src/share/vm/opto/bytecodeInfo.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 | 61b2245abf36 |
children | e9ff18c4ace7 |
line wrap: on
line diff
--- a/src/share/vm/opto/bytecodeInfo.cpp Fri May 21 02:59:24 2010 -0700 +++ b/src/share/vm/opto/bytecodeInfo.cpp Sun May 23 01:38:26 2010 -0700 @@ -340,7 +340,7 @@ Bytecodes::Code call_bc = iter.cur_bc(); // An invokedynamic instruction does not have a klass. if (call_bc != Bytecodes::_invokedynamic) { - int index = iter.get_index_int(); + int index = iter.get_index_u2_cpcache(); if (!caller_method->is_klass_loaded(index, true)) { return false; }