diff src/share/vm/c1/c1_LIR.hpp @ 9156:acadb114c818

8011648: C1: optimized build is broken after 7153771 Summary: missing #ifdef ASSERT Reviewed-by: kvn
author roland
date Mon, 15 Apr 2013 17:17:11 +0200
parents 46f6f063b272
children b800986664f4
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIR.hpp	Mon Apr 15 09:42:46 2013 +0200
+++ b/src/share/vm/c1/c1_LIR.hpp	Mon Apr 15 17:17:11 2013 +0200
@@ -881,8 +881,9 @@
 class    LIR_OpTypeCheck;
 class    LIR_OpCompareAndSwap;
 class    LIR_OpProfileCall;
+#ifdef ASSERT
 class    LIR_OpAssert;
-
+#endif
 
 // LIR operation codes
 enum LIR_Code {
@@ -1139,7 +1140,9 @@
   virtual LIR_OpTypeCheck* as_OpTypeCheck() { return NULL; }
   virtual LIR_OpCompareAndSwap* as_OpCompareAndSwap() { return NULL; }
   virtual LIR_OpProfileCall* as_OpProfileCall() { return NULL; }
+#ifdef ASSERT
   virtual LIR_OpAssert* as_OpAssert() { return NULL; }
+#endif
 
   virtual void verify() const {}
 };