7104177: Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation
Summary: Initialize printable_bci of instruction when passed to Canonicalizer
Reviewed-by: kvn, never
--- a/hotspot/src/share/vm/c1/c1_Canonicalizer.hpp Thu Oct 27 09:39:24 2011 -0700
+++ b/hotspot/src/share/vm/c1/c1_Canonicalizer.hpp Thu Oct 27 14:40:25 2011 -0700
@@ -51,6 +51,7 @@
public:
Canonicalizer(Compilation* c, Value x, int bci) : _compilation(c), _canonical(x), _bci(bci) {
+ NOT_PRODUCT(x->set_printable_bci(bci));
if (CanonicalizeNodes) x->visit(this);
}
Value canonical() const { return _canonical; }