Skip to content

Commit 6458800

Browse files
committed
8334442: Temporarily disable return type assertion to reduce noise in testing
Backport-of: 614b99a
1 parent 7f189a5 commit 6458800

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/hotspot/share/opto/parse1.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,16 +1049,6 @@ void Parse::do_exits() {
10491049
// loading. It could also be due to an error, so mark this method as not compilable because
10501050
// otherwise this could lead to an infinite compile loop.
10511051
// In any case, this code path is rarely (and never in my testing) reached.
1052-
#ifdef ASSERT
1053-
tty->print_cr("# Can't determine return type.");
1054-
tty->print_cr("# exit control");
1055-
_exits.control()->dump(2);
1056-
tty->print_cr("# ret phi type");
1057-
_gvn.type(ret_phi)->dump();
1058-
tty->print_cr("# ret phi");
1059-
ret_phi->dump(2);
1060-
#endif // ASSERT
1061-
assert(false, "Can't determine return type.");
10621052
C->record_method_not_compilable("Can't determine return type.");
10631053
return;
10641054
}

0 commit comments

Comments
 (0)