Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1/c1_GraphBuilder.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 | 99791ad65936 |
children | e9ff18c4ace7 |
comparison
equal
deleted
inserted
replaced
1564:61b2245abf36 | 1565:ab102d5d923e |
---|---|
2436 case Bytecodes::_invokevirtual : // fall through | 2436 case Bytecodes::_invokevirtual : // fall through |
2437 case Bytecodes::_invokespecial : // fall through | 2437 case Bytecodes::_invokespecial : // fall through |
2438 case Bytecodes::_invokestatic : // fall through | 2438 case Bytecodes::_invokestatic : // fall through |
2439 case Bytecodes::_invokedynamic : // fall through | 2439 case Bytecodes::_invokedynamic : // fall through |
2440 case Bytecodes::_invokeinterface: invoke(code); break; | 2440 case Bytecodes::_invokeinterface: invoke(code); break; |
2441 case Bytecodes::_new : new_instance(s.get_index_big()); break; | 2441 case Bytecodes::_new : new_instance(s.get_index_u2()); break; |
2442 case Bytecodes::_newarray : new_type_array(); break; | 2442 case Bytecodes::_newarray : new_type_array(); break; |
2443 case Bytecodes::_anewarray : new_object_array(); break; | 2443 case Bytecodes::_anewarray : new_object_array(); break; |
2444 case Bytecodes::_arraylength : ipush(append(new ArrayLength(apop(), lock_stack()))); break; | 2444 case Bytecodes::_arraylength : ipush(append(new ArrayLength(apop(), lock_stack()))); break; |
2445 case Bytecodes::_athrow : throw_op(s.cur_bci()); break; | 2445 case Bytecodes::_athrow : throw_op(s.cur_bci()); break; |
2446 case Bytecodes::_checkcast : check_cast(s.get_index_big()); break; | 2446 case Bytecodes::_checkcast : check_cast(s.get_index_u2()); break; |
2447 case Bytecodes::_instanceof : instance_of(s.get_index_big()); break; | 2447 case Bytecodes::_instanceof : instance_of(s.get_index_u2()); break; |
2448 // Note: we do not have special handling for the monitorenter bytecode if DeoptC1 && DeoptOnAsyncException | 2448 // Note: we do not have special handling for the monitorenter bytecode if DeoptC1 && DeoptOnAsyncException |
2449 case Bytecodes::_monitorenter : monitorenter(apop(), s.cur_bci()); break; | 2449 case Bytecodes::_monitorenter : monitorenter(apop(), s.cur_bci()); break; |
2450 case Bytecodes::_monitorexit : monitorexit (apop(), s.cur_bci()); break; | 2450 case Bytecodes::_monitorexit : monitorexit (apop(), s.cur_bci()); break; |
2451 case Bytecodes::_wide : ShouldNotReachHere(); break; | 2451 case Bytecodes::_wide : ShouldNotReachHere(); break; |
2452 case Bytecodes::_multianewarray : new_multi_array(s.cur_bcp()[3]); break; | 2452 case Bytecodes::_multianewarray : new_multi_array(s.cur_bcp()[3]); break; |