Mercurial > hg > truffle
diff src/share/vm/opto/cfgnode.hpp @ 400:cc80376deb0c
6667595: Set probability FAIR for pre-, post- loops and ALWAYS for main loop
Summary: Fix loop's probability. Add optimizations to avoid spilling. Change InlineSmallCode to product flag.
Reviewed-by: never
author | kvn |
---|---|
date | Thu, 02 Oct 2008 08:37:44 -0700 |
parents | 9c2ecc2ffb12 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/opto/cfgnode.hpp Tue Sep 30 15:53:55 2008 -0700 +++ b/src/share/vm/opto/cfgnode.hpp Thu Oct 02 08:37:44 2008 -0700 @@ -162,6 +162,8 @@ return NULL; // not a copy! } + bool is_tripcount() const; + // Determine a unique non-trivial input, if any. // Ignore casts if it helps. Return NULL on failure. Node* unique_input(PhaseTransform *phase);