mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8011648: C1: optimized build is broken after 7153771
Missing #ifdef ASSERT Reviewed-by: kvn
This commit is contained in:
parent
361d401c11
commit
9f96eb3ed5
12 changed files with 30 additions and 5 deletions
|
@ -535,7 +535,9 @@ public:
|
|||
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_ProfileInvoke (ProfileInvoke* x) {}
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue