Mercurial > hg > truffle
changeset 4050:34535d2cb362
7104177: Tiered: -XX:+PrintCanonicalization doesn't work with -XX:+TieredCompilation
Summary: Initialize printable_bci of instruction when passed to Canonicalizer
Reviewed-by: kvn, never
author | iveresov |
---|---|
date | Thu, 27 Oct 2011 14:40:25 -0700 |
parents | e0658a9b3f87 |
children | f350490a45fd |
files | src/share/vm/c1/c1_Canonicalizer.hpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Canonicalizer.hpp Thu Oct 27 09:39:24 2011 -0700 +++ b/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; }