@@ -2581,14 +2581,6 @@ const RegMask &PhiNode::out_RegMask() const {
2581
2581
}
2582
2582
2583
2583
#ifndef PRODUCT
2584
- void PhiNode::related (GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
2585
- // For a PhiNode, the set of related nodes includes all inputs till level 2,
2586
- // and all outputs till level 1. In compact mode, inputs till level 1 are
2587
- // collected.
2588
- this ->collect_nodes (in_rel, compact ? 1 : 2 , false , false );
2589
- this ->collect_nodes (out_rel, -1 , false , false );
2590
- }
2591
-
2592
2584
void PhiNode::dump_spec (outputStream *st) const {
2593
2585
TypeNode::dump_spec (st);
2594
2586
if (is_tripcount (T_INT) || is_tripcount (T_LONG)) {
@@ -2613,33 +2605,11 @@ const RegMask &GotoNode::out_RegMask() const {
2613
2605
return RegMask::Empty;
2614
2606
}
2615
2607
2616
- #ifndef PRODUCT
2617
- // -----------------------------related-----------------------------------------
2618
- // The related nodes of a GotoNode are all inputs at level 1, as well as the
2619
- // outputs at level 1. This is regardless of compact mode.
2620
- void GotoNode::related (GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
2621
- this ->collect_nodes (in_rel, 1 , false , false );
2622
- this ->collect_nodes (out_rel, -1 , false , false );
2623
- }
2624
- #endif
2625
-
2626
-
2627
2608
// =============================================================================
2628
2609
const RegMask &JumpNode::out_RegMask () const {
2629
2610
return RegMask::Empty;
2630
2611
}
2631
2612
2632
- #ifndef PRODUCT
2633
- // -----------------------------related-----------------------------------------
2634
- // The related nodes of a JumpNode are all inputs at level 1, as well as the
2635
- // outputs at level 2 (to include actual jump targets beyond projection nodes).
2636
- // This is regardless of compact mode.
2637
- void JumpNode::related (GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
2638
- this ->collect_nodes (in_rel, 1 , false , false );
2639
- this ->collect_nodes (out_rel, -2 , false , false );
2640
- }
2641
- #endif
2642
-
2643
2613
// =============================================================================
2644
2614
const RegMask &JProjNode::out_RegMask () const {
2645
2615
return RegMask::Empty;
@@ -2700,12 +2670,6 @@ void JumpProjNode::dump_compact_spec(outputStream *st) const {
2700
2670
ProjNode::dump_compact_spec (st);
2701
2671
st->print (" (%d)%d@%d" , _switch_val, _proj_no, _dest_bci);
2702
2672
}
2703
-
2704
- void JumpProjNode::related (GrowableArray<Node*> *in_rel, GrowableArray<Node*> *out_rel, bool compact) const {
2705
- // The related nodes of a JumpProjNode are its inputs and outputs at level 1.
2706
- this ->collect_nodes (in_rel, 1 , false , false );
2707
- this ->collect_nodes (out_rel, -1 , false , false );
2708
- }
2709
2673
#endif
2710
2674
2711
2675
// =============================================================================
0 commit comments