hotspot/src/share/vm/opto/callnode.cpp
changeset 1067 f82e0a8cd438
parent 955 723d7b577fba
child 1135 9487203e5789
--- a/hotspot/src/share/vm/opto/callnode.cpp	Wed Aug 27 00:21:55 2008 -0700
+++ b/hotspot/src/share/vm/opto/callnode.cpp	Wed Aug 27 09:15:46 2008 -0700
@@ -829,9 +829,7 @@
 //------------------------------Ideal------------------------------------------
 // Skip over any collapsed Regions
 Node *SafePointNode::Ideal(PhaseGVN *phase, bool can_reshape) {
-  if (remove_dead_region(phase, can_reshape))  return this;
-
-  return NULL;
+  return remove_dead_region(phase, can_reshape) ? this : NULL;
 }
 
 //------------------------------Identity---------------------------------------