hotspot/src/share/vm/opto/loopnode.cpp
changeset 28202 3518158ff5d0
parent 25913 81dbc151e91c
child 29087 79c30f6c2125
--- a/hotspot/src/share/vm/opto/loopnode.cpp	Tue Dec 16 20:09:29 2014 +0100
+++ b/hotspot/src/share/vm/opto/loopnode.cpp	Fri Dec 19 16:42:40 2014 -0800
@@ -1147,7 +1147,7 @@
 // Dump special per-node info
 #ifndef PRODUCT
 void CountedLoopEndNode::dump_spec(outputStream *st) const {
-  if( in(TestValue)->is_Bool() ) {
+  if( in(TestValue) != NULL && in(TestValue)->is_Bool() ) {
     BoolTest bt( test_trip()); // Added this for g++.
 
     st->print("[");