8305740: C2: add print statements to assert: Can't determine return type.
Reviewed-by: kvn, thartmann
This commit is contained in:
parent
5c95bb1c51
commit
c0b4957fcc
@ -1048,6 +1048,15 @@ void Parse::do_exits() {
|
|||||||
// loading. It could also be due to an error, so mark this method as not compilable because
|
// loading. It could also be due to an error, so mark this method as not compilable because
|
||||||
// otherwise this could lead to an infinite compile loop.
|
// otherwise this could lead to an infinite compile loop.
|
||||||
// In any case, this code path is rarely (and never in my testing) reached.
|
// In any case, this code path is rarely (and never in my testing) reached.
|
||||||
|
#ifdef ASSERT
|
||||||
|
tty->print_cr("# Can't determine return type.");
|
||||||
|
tty->print_cr("# exit control");
|
||||||
|
_exits.control()->dump(2);
|
||||||
|
tty->print_cr("# ret phi type");
|
||||||
|
_gvn.type(ret_phi)->dump();
|
||||||
|
tty->print_cr("# ret phi");
|
||||||
|
ret_phi->dump(2);
|
||||||
|
#endif // ASSERT
|
||||||
assert(false, "Can't determine return type.");
|
assert(false, "Can't determine return type.");
|
||||||
C->record_method_not_compilable("Can't determine return type.");
|
C->record_method_not_compilable("Can't determine return type.");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user