hotspot/src/cpu/sparc/vm/methodHandles_sparc.cpp
changeset 10983 9ab65f4cec18
parent 10514 e229a19078cf
child 11190 d561d41f241a
--- a/hotspot/src/cpu/sparc/vm/methodHandles_sparc.cpp	Mon Nov 07 14:33:57 2011 -0800
+++ b/hotspot/src/cpu/sparc/vm/methodHandles_sparc.cpp	Tue Nov 08 10:31:53 2011 -0800
@@ -352,6 +352,7 @@
   BLOCK_COMMENT("load_stack_move {");
   __ ldsw(G3_amh_conversion, stack_move_reg);
   __ sra(stack_move_reg, CONV_STACK_MOVE_SHIFT, stack_move_reg);
+#ifdef ASSERT
   if (VerifyMethodHandles) {
     Label L_ok, L_bad;
     int32_t stack_move_limit = 0x0800;  // extra-large
@@ -363,6 +364,7 @@
     __ stop("load_stack_move of garbage value");
     __ BIND(L_ok);
   }
+#endif
   BLOCK_COMMENT("} load_stack_move");
 }