Mercurial > hg > graal-compiler
diff src/share/vm/c1/c1_Optimizer.cpp @ 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 | d13d7aba8c12 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Optimizer.cpp Mon Apr 15 09:42:46 2013 +0200 +++ b/src/share/vm/c1/c1_Optimizer.cpp Mon Apr 15 17:17:11 2013 +0200 @@ -535,7 +535,9 @@ void do_RuntimeCall (RuntimeCall* x); void do_MemBar (MemBar* x); void do_RangeCheckPredicate(RangeCheckPredicate* x); +#ifdef ASSERT void do_Assert (Assert* x); +#endif }; @@ -718,8 +720,9 @@ void NullCheckVisitor::do_RuntimeCall (RuntimeCall* x) {} void NullCheckVisitor::do_MemBar (MemBar* x) {} void NullCheckVisitor::do_RangeCheckPredicate(RangeCheckPredicate* x) {} +#ifdef ASSERT void NullCheckVisitor::do_Assert (Assert* x) {} - +#endif void NullCheckEliminator::visit(Value* p) { assert(*p != NULL, "should not find NULL instructions");