508 def(_fast_aaccess_0 , "fast_aaccess_0" , "b_JJ" , NULL , T_OBJECT , 1, true , _aload_0 ); 509 def(_fast_faccess_0 , "fast_faccess_0" , "b_JJ" , NULL , T_OBJECT , 1, true , _aload_0 ); 510 511 def(_fast_iload , "fast_iload" , "bi" , NULL , T_INT , 1, false, _iload); 512 def(_fast_iload2 , "fast_iload2" , "bi_i" , NULL , T_INT , 2, false, _iload); 513 def(_fast_icaload , "fast_icaload" , "bi_" , NULL , T_INT , 0, false, _iload); 514 515 // Faster method invocation. 516 def(_fast_invokevfinal , "fast_invokevfinal" , "bJJ" , NULL , T_ILLEGAL, -1, true, _invokevirtual ); 517 518 def(_fast_linearswitch , "fast_linearswitch" , "" , NULL , T_VOID , -1, false, _lookupswitch ); 519 def(_fast_binaryswitch , "fast_binaryswitch" , "" , NULL , T_VOID , -1, false, _lookupswitch ); 520 521 def(_return_register_finalizer , "return_register_finalizer" , "b" , NULL , T_VOID , 0, true, _return); 522 523 def(_invokehandle , "invokehandle" , "bJJ" , NULL , T_ILLEGAL, -1, true, _invokevirtual ); 524 525 def(_fast_aldc , "fast_aldc" , "bj" , NULL , T_OBJECT, 1, true, _ldc ); 526 def(_fast_aldc_w , "fast_aldc_w" , "bJJ" , NULL , T_OBJECT, 1, true, _ldc_w ); 527 528 def(_shouldnotreachhere , "_shouldnotreachhere" , "b" , NULL , T_VOID , 0, false); 529 530 // compare can_trap information for each bytecode with the 531 // can_trap information for the corresponding base bytecode 532 // (if a rewritten bytecode can trap, so must the base bytecode) 533 #ifdef ASSERT 534 { for (int i = 0; i < number_of_codes; i++) { 535 if (is_defined(i)) { 536 Code code = cast(i); 537 Code java = java_code(code); 538 if (can_trap(code) && !can_trap(java)) 539 fatal(err_msg("%s can trap => %s can trap, too", name(code), 540 name(java))); 541 } 542 } 543 } 544 #endif 545 546 // initialization successful 547 _is_initialized = true; | 508 def(_fast_aaccess_0 , "fast_aaccess_0" , "b_JJ" , NULL , T_OBJECT , 1, true , _aload_0 ); 509 def(_fast_faccess_0 , "fast_faccess_0" , "b_JJ" , NULL , T_OBJECT , 1, true , _aload_0 ); 510 511 def(_fast_iload , "fast_iload" , "bi" , NULL , T_INT , 1, false, _iload); 512 def(_fast_iload2 , "fast_iload2" , "bi_i" , NULL , T_INT , 2, false, _iload); 513 def(_fast_icaload , "fast_icaload" , "bi_" , NULL , T_INT , 0, false, _iload); 514 515 // Faster method invocation. 516 def(_fast_invokevfinal , "fast_invokevfinal" , "bJJ" , NULL , T_ILLEGAL, -1, true, _invokevirtual ); 517 518 def(_fast_linearswitch , "fast_linearswitch" , "" , NULL , T_VOID , -1, false, _lookupswitch ); 519 def(_fast_binaryswitch , "fast_binaryswitch" , "" , NULL , T_VOID , -1, false, _lookupswitch ); 520 521 def(_return_register_finalizer , "return_register_finalizer" , "b" , NULL , T_VOID , 0, true, _return); 522 523 def(_invokehandle , "invokehandle" , "bJJ" , NULL , T_ILLEGAL, -1, true, _invokevirtual ); 524 525 def(_fast_aldc , "fast_aldc" , "bj" , NULL , T_OBJECT, 1, true, _ldc ); 526 def(_fast_aldc_w , "fast_aldc_w" , "bJJ" , NULL , T_OBJECT, 1, true, _ldc_w ); 527 528 def(_nofast_getfield , "nofast_getfield" , "bJJ" , NULL , T_ILLEGAL, 0, true, _getfield ); 529 def(_nofast_putfield , "nofast_putfield" , "bJJ" , NULL , T_ILLEGAL, -2, true , _putfield ); 530 531 def(_nofast_aload_0 , "nofast_aload_0" , "b" , NULL , T_ILLEGAL, 1, true , _aload_0 ); 532 def(_nofast_iload , "nofast_iload" , "bi" , NULL , T_ILLEGAL, 1, false, _iload ); 533 534 def(_shouldnotreachhere , "_shouldnotreachhere" , "b" , NULL , T_VOID , 0, false); 535 536 // compare can_trap information for each bytecode with the 537 // can_trap information for the corresponding base bytecode 538 // (if a rewritten bytecode can trap, so must the base bytecode) 539 #ifdef ASSERT 540 { for (int i = 0; i < number_of_codes; i++) { 541 if (is_defined(i)) { 542 Code code = cast(i); 543 Code java = java_code(code); 544 if (can_trap(code) && !can_trap(java)) 545 fatal(err_msg("%s can trap => %s can trap, too", name(code), 546 name(java))); 547 } 548 } 549 } 550 #endif 551 552 // initialization successful 553 _is_initialized = true; |