src/share/vm/opto/bytecodeInfo.cpp

changeset 3138
f6f3bb0ee072
parent 3105
c26de9aef2ed
child 3653
0f4014d7731b
     1.1 --- a/src/share/vm/opto/bytecodeInfo.cpp	Sat Sep 10 17:29:02 2011 -0700
     1.2 +++ b/src/share/vm/opto/bytecodeInfo.cpp	Sun Sep 11 14:48:24 2011 -0700
     1.3 @@ -610,3 +610,22 @@
     1.4    }
     1.5    return iltp;
     1.6  }
     1.7 +
     1.8 +
     1.9 +
    1.10 +#ifndef PRODUCT
    1.11 +void InlineTree::print_impl(outputStream* st, int indent) const {
    1.12 +  for (int i = 0; i < indent; i++) st->print(" ");
    1.13 +  st->print(" @ %d ", caller_bci());
    1.14 +  method()->print_short_name(st);
    1.15 +  st->cr();
    1.16 +
    1.17 +  for (int i = 0 ; i < _subtrees.length(); i++) {
    1.18 +    _subtrees.at(i)->print_impl(st, indent + 2);
    1.19 +  }
    1.20 +}
    1.21 +
    1.22 +void InlineTree::print_value_on(outputStream* st) const {
    1.23 +  print_impl(st, 2);
    1.24 +}
    1.25 +#endif

mercurial