hotspot/src/cpu/x86/vm/templateTable_x86_64.cpp
changeset 8883 5569135acca3
parent 8676 9098d4e927e1
child 9179 6db9c9dffe1f
child 9324 c2e97d1d66d2
equal deleted inserted replaced
8882:f852635a6383 8883:5569135acca3
   403 // %%% We should use this to handle Class and String constants also.
   403 // %%% We should use this to handle Class and String constants also.
   404 // %%% It will simplify the ldc/primitive path considerably.
   404 // %%% It will simplify the ldc/primitive path considerably.
   405 void TemplateTable::fast_aldc(bool wide) {
   405 void TemplateTable::fast_aldc(bool wide) {
   406   transition(vtos, atos);
   406   transition(vtos, atos);
   407 
   407 
   408   if (!EnableMethodHandles) {
   408   if (!EnableInvokeDynamic) {
   409     // We should not encounter this bytecode if !EnableMethodHandles.
   409     // We should not encounter this bytecode if !EnableInvokeDynamic.
   410     // The verifier will stop it.  However, if we get past the verifier,
   410     // The verifier will stop it.  However, if we get past the verifier,
   411     // this will stop the thread in a reasonable way, without crashing the JVM.
   411     // this will stop the thread in a reasonable way, without crashing the JVM.
   412     __ call_VM(noreg, CAST_FROM_FN_PTR(address,
   412     __ call_VM(noreg, CAST_FROM_FN_PTR(address,
   413                      InterpreterRuntime::throw_IncompatibleClassChangeError));
   413                      InterpreterRuntime::throw_IncompatibleClassChangeError));
   414     // the call_VM checks for exception, so we should never return here.
   414     // the call_VM checks for exception, so we should never return here.