hotspot/src/cpu/x86/vm/methodHandles_x86.cpp
changeset 9946 b3d5b50e2289
parent 9638 a9e79f5cd83b
child 9976 6fef34e63df1
--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp	Tue May 17 16:50:27 2011 +0200
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.cpp	Tue May 17 19:11:51 2011 -0700
@@ -389,7 +389,7 @@
   }
 }
 
-#ifndef PRODUCT
+#ifdef ASSERT
 void MethodHandles::RicochetFrame::verify_offsets() {
   // Check compatibility of this struct with the more generally used offsets of class frame:
   int ebp_off = sender_link_offset_in_bytes();  // offset from struct base to local rbp value