aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/phaseX.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/opto/phaseX.hpp')
-rw-r--r--src/share/vm/opto/phaseX.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/share/vm/opto/phaseX.hpp b/src/share/vm/opto/phaseX.hpp
index ed5526ea0..e040ccc8b 100644
--- a/src/share/vm/opto/phaseX.hpp
+++ b/src/share/vm/opto/phaseX.hpp
@@ -383,6 +383,10 @@ public:
// Phase for iteratively performing local, pessimistic GVN-style optimizations.
// and ideal transformations on the graph.
class PhaseIterGVN : public PhaseGVN {
+ private:
+ bool _delay_transform; // When true simply register the node when calling transform
+ // instead of actually optimizing it
+
// Idealize old Node 'n' with respect to its inputs and its value
virtual Node *transform_old( Node *a_node );
protected:
@@ -446,6 +450,10 @@ public:
subsume_node(old, nn);
}
+ void set_delay_transform(bool delay) {
+ _delay_transform = delay;
+ }
+
#ifndef PRODUCT
protected:
// Sub-quadratic implementation of VerifyIterativeGVN.