Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
372:be41fa651400 | 400:cc80376deb0c |
---|---|
160 DEBUG_ONLY(const Node* r = _in[Region];) | 160 DEBUG_ONLY(const Node* r = _in[Region];) |
161 assert(r != NULL && r->is_Region(), "Not valid control"); | 161 assert(r != NULL && r->is_Region(), "Not valid control"); |
162 return NULL; // not a copy! | 162 return NULL; // not a copy! |
163 } | 163 } |
164 | 164 |
165 bool is_tripcount() const; | |
166 | |
165 // Determine a unique non-trivial input, if any. | 167 // Determine a unique non-trivial input, if any. |
166 // Ignore casts if it helps. Return NULL on failure. | 168 // Ignore casts if it helps. Return NULL on failure. |
167 Node* unique_input(PhaseTransform *phase); | 169 Node* unique_input(PhaseTransform *phase); |
168 | 170 |
169 // Check for a simple dead loop. | 171 // Check for a simple dead loop. |