aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/chaitin.cpp
diff options
context:
space:
mode:
authorbharadwaj <none@none>2012-11-27 17:24:15 -0800
committerbharadwaj <none@none>2012-11-27 17:24:15 -0800
commiteb1ae70e09257560582e353a4759575e81af13dd (patch)
tree178be466b2ba532cecad5f3b0385aa96fbb1373c /src/share/vm/opto/chaitin.cpp
parent1dd46196a0c6148ed7cd27372b3501085ee677f8 (diff)
7092905: C2: Keep track of the number of dead nodes
Summary: keep an (almost) accurate running count of the reachable (live) flow graph nodes. Reviewed-by: kvn, twisti, jrose, vlivanov
Diffstat (limited to 'src/share/vm/opto/chaitin.cpp')
-rw-r--r--src/share/vm/opto/chaitin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/chaitin.cpp b/src/share/vm/opto/chaitin.cpp
index e626a10d8..0fbe723c4 100644
--- a/src/share/vm/opto/chaitin.cpp
+++ b/src/share/vm/opto/chaitin.cpp
@@ -1495,7 +1495,7 @@ void PhaseChaitin::fixup_spills() {
cisc->ins_req(1,src); // Requires a memory edge
}
b->_nodes.map(j,cisc); // Insert into basic block
- n->subsume_by(cisc); // Correct graph
+ n->subsume_by(cisc, C); // Correct graph
//
++_used_cisc_instructions;
#ifndef PRODUCT