diff src/cpu/x86/vm/frame_x86.cpp @ 8721:47bc9800972c

8006498: #if <symbol> is wrong in the code. Summary: ASSERT and other symbols used incorrectly with #if are supposed to be defined or not. Reviewed-by: dholmes, mikael
author jprovino
date Wed, 06 Mar 2013 13:46:55 -0500
parents ec2eddfed950
children b9a918201d47 f2110083203d
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.cpp	Wed Mar 06 13:38:17 2013 -0500
+++ b/src/cpu/x86/vm/frame_x86.cpp	Wed Mar 06 13:46:55 2013 -0500
@@ -356,7 +356,7 @@
 // Verifies the calculated original PC of a deoptimization PC for the
 // given unextended SP.  The unextended SP might also be the saved SP
 // for MethodHandle call sites.
-#if ASSERT
+#ifdef ASSERT
 void frame::verify_deopt_original_pc(nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return) {
   frame fr;