comparison src/share/vm/interpreter/templateTable.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 bd02caa94611
children e9ff18c4ace7
comparison
equal deleted inserted replaced
1564:61b2245abf36 1565:ab102d5d923e
1 /* 1 /*
2 * Copyright 1997-2009 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 1997-2010 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
432 def(Bytecodes::_lreturn , ____|disp|clvm|____, ltos, ltos, _return , ltos ); 432 def(Bytecodes::_lreturn , ____|disp|clvm|____, ltos, ltos, _return , ltos );
433 def(Bytecodes::_freturn , ____|disp|clvm|____, ftos, ftos, _return , ftos ); 433 def(Bytecodes::_freturn , ____|disp|clvm|____, ftos, ftos, _return , ftos );
434 def(Bytecodes::_dreturn , ____|disp|clvm|____, dtos, dtos, _return , dtos ); 434 def(Bytecodes::_dreturn , ____|disp|clvm|____, dtos, dtos, _return , dtos );
435 def(Bytecodes::_areturn , ____|disp|clvm|____, atos, atos, _return , atos ); 435 def(Bytecodes::_areturn , ____|disp|clvm|____, atos, atos, _return , atos );
436 def(Bytecodes::_return , ____|disp|clvm|____, vtos, vtos, _return , vtos ); 436 def(Bytecodes::_return , ____|disp|clvm|____, vtos, vtos, _return , vtos );
437 def(Bytecodes::_getstatic , ubcp|____|clvm|____, vtos, vtos, getstatic , 1 ); 437 def(Bytecodes::_getstatic , ubcp|____|clvm|____, vtos, vtos, getstatic , f1_byte );
438 def(Bytecodes::_putstatic , ubcp|____|clvm|____, vtos, vtos, putstatic , 2 ); 438 def(Bytecodes::_putstatic , ubcp|____|clvm|____, vtos, vtos, putstatic , f2_byte );
439 def(Bytecodes::_getfield , ubcp|____|clvm|____, vtos, vtos, getfield , 1 ); 439 def(Bytecodes::_getfield , ubcp|____|clvm|____, vtos, vtos, getfield , f1_byte );
440 def(Bytecodes::_putfield , ubcp|____|clvm|____, vtos, vtos, putfield , 2 ); 440 def(Bytecodes::_putfield , ubcp|____|clvm|____, vtos, vtos, putfield , f2_byte );
441 def(Bytecodes::_invokevirtual , ubcp|disp|clvm|____, vtos, vtos, invokevirtual , 2 ); 441 def(Bytecodes::_invokevirtual , ubcp|disp|clvm|____, vtos, vtos, invokevirtual , f2_byte );
442 def(Bytecodes::_invokespecial , ubcp|disp|clvm|____, vtos, vtos, invokespecial , 1 ); 442 def(Bytecodes::_invokespecial , ubcp|disp|clvm|____, vtos, vtos, invokespecial , f1_byte );
443 def(Bytecodes::_invokestatic , ubcp|disp|clvm|____, vtos, vtos, invokestatic , 1 ); 443 def(Bytecodes::_invokestatic , ubcp|disp|clvm|____, vtos, vtos, invokestatic , f1_byte );
444 def(Bytecodes::_invokeinterface , ubcp|disp|clvm|____, vtos, vtos, invokeinterface , 1 ); 444 def(Bytecodes::_invokeinterface , ubcp|disp|clvm|____, vtos, vtos, invokeinterface , f1_byte );
445 def(Bytecodes::_invokedynamic , ubcp|disp|clvm|____, vtos, vtos, invokedynamic , 1 ); 445 def(Bytecodes::_invokedynamic , ubcp|disp|clvm|____, vtos, vtos, invokedynamic , f1_oop );
446 def(Bytecodes::_new , ubcp|____|clvm|____, vtos, atos, _new , _ ); 446 def(Bytecodes::_new , ubcp|____|clvm|____, vtos, atos, _new , _ );
447 def(Bytecodes::_newarray , ubcp|____|clvm|____, itos, atos, newarray , _ ); 447 def(Bytecodes::_newarray , ubcp|____|clvm|____, itos, atos, newarray , _ );
448 def(Bytecodes::_anewarray , ubcp|____|clvm|____, itos, atos, anewarray , _ ); 448 def(Bytecodes::_anewarray , ubcp|____|clvm|____, itos, atos, anewarray , _ );
449 def(Bytecodes::_arraylength , ____|____|____|____, atos, itos, arraylength , _ ); 449 def(Bytecodes::_arraylength , ____|____|____|____, atos, itos, arraylength , _ );
450 def(Bytecodes::_athrow , ____|disp|____|____, atos, vtos, athrow , _ ); 450 def(Bytecodes::_athrow , ____|disp|____|____, atos, vtos, athrow , _ );
500 500
501 def(Bytecodes::_fast_iload , ubcp|____|____|____, vtos, itos, fast_iload , _ ); 501 def(Bytecodes::_fast_iload , ubcp|____|____|____, vtos, itos, fast_iload , _ );
502 def(Bytecodes::_fast_iload2 , ubcp|____|____|____, vtos, itos, fast_iload2 , _ ); 502 def(Bytecodes::_fast_iload2 , ubcp|____|____|____, vtos, itos, fast_iload2 , _ );
503 def(Bytecodes::_fast_icaload , ubcp|____|____|____, vtos, itos, fast_icaload , _ ); 503 def(Bytecodes::_fast_icaload , ubcp|____|____|____, vtos, itos, fast_icaload , _ );
504 504
505 def(Bytecodes::_fast_invokevfinal , ubcp|disp|clvm|____, vtos, vtos, fast_invokevfinal , 2 ); 505 def(Bytecodes::_fast_invokevfinal , ubcp|disp|clvm|____, vtos, vtos, fast_invokevfinal , f2_byte );
506 506
507 def(Bytecodes::_fast_linearswitch , ubcp|disp|____|____, itos, vtos, fast_linearswitch , _ ); 507 def(Bytecodes::_fast_linearswitch , ubcp|disp|____|____, itos, vtos, fast_linearswitch , _ );
508 def(Bytecodes::_fast_binaryswitch , ubcp|disp|____|____, itos, vtos, fast_binaryswitch , _ ); 508 def(Bytecodes::_fast_binaryswitch , ubcp|disp|____|____, itos, vtos, fast_binaryswitch , _ );
509 509
510 def(Bytecodes::_return_register_finalizer , ____|disp|clvm|____, vtos, vtos, _return , vtos ); 510 def(Bytecodes::_return_register_finalizer , ____|disp|clvm|____, vtos, vtos, _return , vtos );