@@ -202,8 +202,8 @@ void TemplateTable::def(Bytecodes::Code code, int flags, TosState in, TosState o
202202}
203203
204204
205- void TemplateTable::def (Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(bool arg ), bool arg ) {
206- def (code, flags, in, out, (Template::generator)gen, (int )arg );
205+ void TemplateTable::def (Bytecodes::Code code, int flags, TosState in, TosState out, void (*gen)(LdcType ldct ), LdcType ldct ) {
206+ def (code, flags, in, out, (Template::generator)gen, (int )ldct );
207207}
208208
209209
@@ -250,8 +250,8 @@ void TemplateTable::initialize() {
250250 def (Bytecodes::_dconst_1 , ____|____|____|____, vtos, dtos, dconst , 1 );
251251 def (Bytecodes::_bipush , ubcp|____|____|____, vtos, itos, bipush , _ );
252252 def (Bytecodes::_sipush , ubcp|____|____|____, vtos, itos, sipush , _ );
253- def (Bytecodes::_ldc , ubcp|____|clvm|____, vtos, vtos, ldc , false );
254- def (Bytecodes::_ldc_w , ubcp|____|clvm|____, vtos, vtos, ldc , true );
253+ def (Bytecodes::_ldc , ubcp|____|clvm|____, vtos, vtos, ldc , ldc_normal );
254+ def (Bytecodes::_ldc_w , ubcp|____|clvm|____, vtos, vtos, ldc , ldc_wide );
255255 def (Bytecodes::_ldc2_w , ubcp|____|clvm|____, vtos, vtos, ldc2_w , _ );
256256 def (Bytecodes::_iload , ubcp|____|clvm|____, vtos, itos, iload , _ );
257257 def (Bytecodes::_lload , ubcp|____|____|____, vtos, ltos, lload , _ );
@@ -484,8 +484,8 @@ void TemplateTable::initialize() {
484484 def (Bytecodes::_fast_linearswitch , ubcp|disp|____|____, itos, vtos, fast_linearswitch , _ );
485485 def (Bytecodes::_fast_binaryswitch , ubcp|disp|____|____, itos, vtos, fast_binaryswitch , _ );
486486
487- def (Bytecodes::_fast_aldc , ubcp|____|clvm|____, vtos, atos, fast_aldc , false );
488- def (Bytecodes::_fast_aldc_w , ubcp|____|clvm|____, vtos, atos, fast_aldc , true );
487+ def (Bytecodes::_fast_aldc , ubcp|____|clvm|____, vtos, atos, fast_aldc , ldc_normal );
488+ def (Bytecodes::_fast_aldc_w , ubcp|____|clvm|____, vtos, atos, fast_aldc , ldc_wide );
489489
490490 def (Bytecodes::_return_register_finalizer , ____|disp|clvm|____, vtos, vtos, _return , vtos );
491491
0 commit comments