src/share/vm/c1/c1_Optimizer.cpp

changeset 4947
acadb114c818
parent 4860
46f6f063b272
child 5914
d13d7aba8c12
     1.1 --- a/src/share/vm/c1/c1_Optimizer.cpp	Mon Apr 15 09:42:46 2013 +0200
     1.2 +++ b/src/share/vm/c1/c1_Optimizer.cpp	Mon Apr 15 17:17:11 2013 +0200
     1.3 @@ -535,7 +535,9 @@
     1.4    void do_RuntimeCall    (RuntimeCall*     x);
     1.5    void do_MemBar         (MemBar*          x);
     1.6    void do_RangeCheckPredicate(RangeCheckPredicate* x);
     1.7 +#ifdef ASSERT
     1.8    void do_Assert         (Assert*          x);
     1.9 +#endif
    1.10  };
    1.11  
    1.12  
    1.13 @@ -718,8 +720,9 @@
    1.14  void NullCheckVisitor::do_RuntimeCall    (RuntimeCall*     x) {}
    1.15  void NullCheckVisitor::do_MemBar         (MemBar*          x) {}
    1.16  void NullCheckVisitor::do_RangeCheckPredicate(RangeCheckPredicate* x) {}
    1.17 +#ifdef ASSERT
    1.18  void NullCheckVisitor::do_Assert         (Assert*          x) {}
    1.19 -
    1.20 +#endif
    1.21  
    1.22  void NullCheckEliminator::visit(Value* p) {
    1.23    assert(*p != NULL, "should not find NULL instructions");

mercurial