Skip to content

Commit 614b99a

Browse files
committedJun 18, 2024
8334442: Temporarily disable return type assertion to reduce noise in testing
Reviewed-by: thartmann, chagedorn
1 parent d4c1373 commit 614b99a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed
 

‎src/hotspot/share/opto/parse1.cpp

-10
Original file line numberDiff line numberDiff line change
@@ -1057,16 +1057,6 @@ void Parse::do_exits() {
10571057
// loading. It could also be due to an error, so mark this method as not compilable because
10581058
// otherwise this could lead to an infinite compile loop.
10591059
// In any case, this code path is rarely (and never in my testing) reached.
1060-
#ifdef ASSERT
1061-
tty->print_cr("# Can't determine return type.");
1062-
tty->print_cr("# exit control");
1063-
_exits.control()->dump(2);
1064-
tty->print_cr("# ret phi type");
1065-
_gvn.type(ret_phi)->dump();
1066-
tty->print_cr("# ret phi");
1067-
ret_phi->dump(2);
1068-
#endif // ASSERT
1069-
assert(false, "Can't determine return type.");
10701060
C->record_method_not_compilable("Can't determine return type.");
10711061
return;
10721062
}

0 commit comments

Comments
 (0)