8009172: [parfait] Null pointer deference in hotspot/src/share/vm/opto/output.cpp
Add guarantee() to DoScheduling() Reviewed-by: twisti, kvn
This commit is contained in:
parent
e6e67652d9
commit
887dd2634c
@ -2518,6 +2518,7 @@ void Scheduling::DoScheduling() {
|
||||
// Schedule the remaining instructions in the block
|
||||
while ( _available.size() > 0 ) {
|
||||
Node *n = ChooseNodeToBundle();
|
||||
guarantee(n != NULL, "no nodes available");
|
||||
AddNodeToBundle(n,bb);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user