Mercurial > hg > graal-compiler
changeset 8770:f15df3af32c5
8009172: [parfait] Null pointer deference in hotspot/src/share/vm/opto/output.cpp
Summary: add guarantee() to DoScheduling()
Reviewed-by: twisti, kvn
author | morris |
---|---|
date | Tue, 19 Mar 2013 07:20:15 -0700 |
parents | be4d5c6c1f79 |
children | 75a28f465a12 |
files | src/share/vm/opto/output.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/opto/output.cpp Tue Mar 19 10:31:16 2013 +0100 +++ b/src/share/vm/opto/output.cpp Tue Mar 19 07:20:15 2013 -0700 @@ -2518,6 +2518,7 @@ // Schedule the remaining instructions in the block while ( _available.size() > 0 ) { Node *n = ChooseNodeToBundle(); + guarantee(n != NULL, "no nodes available"); AddNodeToBundle(n,bb); }