diff src/cpu/x86/vm/frame_x86.hpp @ 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 da91efe96a93
children b9a918201d47 de6a9e811145
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.hpp	Wed Mar 06 13:38:17 2013 -0500
+++ b/src/cpu/x86/vm/frame_x86.hpp	Wed Mar 06 13:46:55 2013 -0500
@@ -170,7 +170,7 @@
     return (intptr_t*) addr_at(offset);
   }
 
-#if ASSERT
+#ifdef ASSERT
   // Used in frame::sender_for_{interpreter,compiled}_frame
   static void verify_deopt_original_pc(   nmethod* nm, intptr_t* unextended_sp, bool is_method_handle_return = false);
   static void verify_deopt_mh_original_pc(nmethod* nm, intptr_t* unextended_sp) {