Mercurial > hg > truffle
comparison src/share/vm/c1/c1_Canonicalizer.hpp @ 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 | 403dc4c1d7f5 |
children | 701a83c86f28 |
comparison
equal
deleted
inserted
replaced
4049:e0658a9b3f87 | 4050:34535d2cb362 |
---|---|
49 Instruction** index, | 49 Instruction** index, |
50 int* scale); | 50 int* scale); |
51 | 51 |
52 public: | 52 public: |
53 Canonicalizer(Compilation* c, Value x, int bci) : _compilation(c), _canonical(x), _bci(bci) { | 53 Canonicalizer(Compilation* c, Value x, int bci) : _compilation(c), _canonical(x), _bci(bci) { |
54 NOT_PRODUCT(x->set_printable_bci(bci)); | |
54 if (CanonicalizeNodes) x->visit(this); | 55 if (CanonicalizeNodes) x->visit(this); |
55 } | 56 } |
56 Value canonical() const { return _canonical; } | 57 Value canonical() const { return _canonical; } |
57 int bci() const { return _bci; } | 58 int bci() const { return _bci; } |
58 | 59 |