hotspot/src/share/vm/c1/c1_Optimizer.cpp
changeset 17011 def8879c5b81
parent 16611 6807a703dd6b
child 20702 bbe0fcde6e13
equal deleted inserted replaced
17009:f5fe7861d135 17011:def8879c5b81
   533   void do_ProfileCall    (ProfileCall*     x);
   533   void do_ProfileCall    (ProfileCall*     x);
   534   void do_ProfileInvoke  (ProfileInvoke*   x);
   534   void do_ProfileInvoke  (ProfileInvoke*   x);
   535   void do_RuntimeCall    (RuntimeCall*     x);
   535   void do_RuntimeCall    (RuntimeCall*     x);
   536   void do_MemBar         (MemBar*          x);
   536   void do_MemBar         (MemBar*          x);
   537   void do_RangeCheckPredicate(RangeCheckPredicate* x);
   537   void do_RangeCheckPredicate(RangeCheckPredicate* x);
       
   538 #ifdef ASSERT
   538   void do_Assert         (Assert*          x);
   539   void do_Assert         (Assert*          x);
       
   540 #endif
   539 };
   541 };
   540 
   542 
   541 
   543 
   542 // Because of a static contained within (for the purpose of iteration
   544 // Because of a static contained within (for the purpose of iteration
   543 // over instructions), it is only valid to have one of these active at
   545 // over instructions), it is only valid to have one of these active at
   716 void NullCheckVisitor::do_ProfileCall    (ProfileCall*     x) { nce()->clear_last_explicit_null_check(); }
   718 void NullCheckVisitor::do_ProfileCall    (ProfileCall*     x) { nce()->clear_last_explicit_null_check(); }
   717 void NullCheckVisitor::do_ProfileInvoke  (ProfileInvoke*   x) {}
   719 void NullCheckVisitor::do_ProfileInvoke  (ProfileInvoke*   x) {}
   718 void NullCheckVisitor::do_RuntimeCall    (RuntimeCall*     x) {}
   720 void NullCheckVisitor::do_RuntimeCall    (RuntimeCall*     x) {}
   719 void NullCheckVisitor::do_MemBar         (MemBar*          x) {}
   721 void NullCheckVisitor::do_MemBar         (MemBar*          x) {}
   720 void NullCheckVisitor::do_RangeCheckPredicate(RangeCheckPredicate* x) {}
   722 void NullCheckVisitor::do_RangeCheckPredicate(RangeCheckPredicate* x) {}
       
   723 #ifdef ASSERT
   721 void NullCheckVisitor::do_Assert         (Assert*          x) {}
   724 void NullCheckVisitor::do_Assert         (Assert*          x) {}
   722 
   725 #endif
   723 
   726 
   724 void NullCheckEliminator::visit(Value* p) {
   727 void NullCheckEliminator::visit(Value* p) {
   725   assert(*p != NULL, "should not find NULL instructions");
   728   assert(*p != NULL, "should not find NULL instructions");
   726   if (visitable(*p)) {
   729   if (visitable(*p)) {
   727     mark_visited(*p);
   730     mark_visited(*p);