Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/dependencies.cpp @ 22746:eb3a7df7b740
-s
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 14 Dec 2015 12:02:18 -0800 |
parents | c28cb37b2e1d |
children | cc7291261d34 |
comparison
equal
deleted
inserted
replaced
22745:9ed36a1fec52 | 22746:eb3a7df7b740 |
---|---|
777 what = "class "; | 777 what = "class "; |
778 } else { | 778 } else { |
779 what = "object "; | 779 what = "object "; |
780 } | 780 } |
781 st->print(" %s = %s", what, (put_star? "*": "")); | 781 st->print(" %s = %s", what, (put_star? "*": "")); |
782 if (arg.is_klass()) | 782 if (arg.is_klass()) { |
783 st->print("%s", ((Klass*)arg.metadata_value())->external_name()); | 783 st->print("%s", ((Klass*)arg.metadata_value())->external_name()); |
784 else if (arg.is_method()) | 784 } else if (arg.is_method()) { |
785 ((Method*)arg.metadata_value())->print_value_on(st); | 785 ((Method*)arg.metadata_value())->print_value_on(st); |
786 else | 786 } else if (arg.is_oop()) { |
787 arg.oop_value()->print_value_on(st); | |
788 } else { | |
787 ShouldNotReachHere(); // Provide impl for this type. | 789 ShouldNotReachHere(); // Provide impl for this type. |
790 } | |
788 st->cr(); | 791 st->cr(); |
789 } | 792 } |
790 if (witness != NULL) { | 793 if (witness != NULL) { |
791 bool put_star = !Dependencies::is_concrete_klass(witness); | 794 bool put_star = !Dependencies::is_concrete_klass(witness); |
792 st->print_cr(" witness = %s%s", | 795 st->print_cr(" witness = %s%s", |