changeset 6670:5627633fc830

8048703: ReplacedNodes dumps it's content to tty Reviewed-by: roland, iveresov, drchase
author vlivanov
date Mon, 14 Jul 2014 03:29:42 -0700
parents 945284eb609f
children 47ec483b936e
files src/share/vm/opto/replacednodes.cpp
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/replacednodes.cpp	Mon Jul 14 03:28:13 2014 -0700
+++ b/src/share/vm/opto/replacednodes.cpp	Mon Jul 14 03:29:42 2014 -0700
@@ -185,11 +185,11 @@
 
 void ReplacedNodes::dump(outputStream *st) const {
   if (!is_empty()) {
-    tty->print("replaced nodes: ");
+    st->print("replaced nodes: ");
     for (int i = 0; i < _replaced_nodes->length(); i++) {
-      tty->print("%d->%d", _replaced_nodes->at(i).initial()->_idx, _replaced_nodes->at(i).improved()->_idx);
+      st->print("%d->%d", _replaced_nodes->at(i).initial()->_idx, _replaced_nodes->at(i).improved()->_idx);
       if (i < _replaced_nodes->length()-1) {
-        tty->print(",");
+        st->print(",");
       }
     }
   }