hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp
changeset 8883 5569135acca3
parent 8676 9098d4e927e1
child 9179 6db9c9dffe1f
child 9328 144894b3384b
--- a/hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp	Thu Mar 31 00:27:08 2011 -0700
+++ b/hotspot/src/cpu/sparc/vm/templateTable_sparc.cpp	Thu Mar 31 02:31:57 2011 -0700
@@ -334,8 +334,8 @@
 void TemplateTable::fast_aldc(bool wide) {
   transition(vtos, atos);
 
-  if (!EnableMethodHandles) {
-    // We should not encounter this bytecode if !EnableMethodHandles.
+  if (!EnableInvokeDynamic) {
+    // We should not encounter this bytecode if !EnableInvokeDynamic.
     // The verifier will stop it.  However, if we get past the verifier,
     // this will stop the thread in a reasonable way, without crashing the JVM.
     __ call_VM(noreg, CAST_FROM_FN_PTR(address,