6908167: jbb2005, OptimizeStringConcat causes assert in EA

Reviewed-by: kvn
This commit is contained in:
Tom Rodriguez 2009-12-08 16:27:21 -08:00
parent 8a9580b1a1
commit dfbb0bf3e2

View File

@ -1714,6 +1714,11 @@ void GraphKit::replace_call(CallNode* call, Node* result) {
C->gvn_replace_by(callprojs.catchall_catchproj, C->top());
C->gvn_replace_by(callprojs.catchall_memproj, C->top());
C->gvn_replace_by(callprojs.catchall_ioproj, C->top());
// Replace the old exception object with top
if (callprojs.exobj != NULL) {
C->gvn_replace_by(callprojs.exobj, C->top());
}
} else {
GraphKit ekit(ejvms);