8323820: [MacOS] build failure: non-void function does not return a value

Reviewed-by: shade, lucy
This commit is contained in:
Joshua Cao 2024-01-16 22:01:21 +00:00 committed by Lutz Schmidt
parent 19c9388c20
commit b058063c40

View File

@ -468,6 +468,7 @@ Node* ConstraintCastNode::make_cast_for_type(Node* c, Node* in, const Type* type
return new CastPPNode(c, in, type, dependency, types);
}
fatal("unreachable. Invalid cast type.");
return nullptr;
}
Node* ConstraintCastNode::optimize_integer_cast(PhaseGVN* phase, BasicType bt) {