src/share/vm/opto/matcher.hpp

changeset 657
2a1a77d3458f
parent 651
8d191a7697e2
child 670
9c2ecc2ffb12
equal deleted inserted replaced
656:1e026f8da827 657:2a1a77d3458f
82 Node_List &_proj_list; // For Machine nodes killing many values 82 Node_List &_proj_list; // For Machine nodes killing many values
83 83
84 Node_Array _shared_nodes; 84 Node_Array _shared_nodes;
85 85
86 debug_only(Node_Array _old2new_map;) // Map roots of ideal-trees to machine-roots 86 debug_only(Node_Array _old2new_map;) // Map roots of ideal-trees to machine-roots
87 debug_only(Node_Array _new2old_map;) // Maps machine nodes back to ideal
87 88
88 // Accessors for the inherited field PhaseTransform::_nodes: 89 // Accessors for the inherited field PhaseTransform::_nodes:
89 void grow_new_node_array(uint idx_limit) { 90 void grow_new_node_array(uint idx_limit) {
90 _nodes.map(idx_limit-1, NULL); 91 _nodes.map(idx_limit-1, NULL);
91 } 92 }
388 static bool post_store_load_barrier(const Node* mb); 389 static bool post_store_load_barrier(const Node* mb);
389 390
390 391
391 #ifdef ASSERT 392 #ifdef ASSERT
392 void dump_old2new_map(); // machine-independent to machine-dependent 393 void dump_old2new_map(); // machine-independent to machine-dependent
394
395 Node* find_old_node(Node* new_node) {
396 return _new2old_map[new_node->_idx];
397 }
393 #endif 398 #endif
394 }; 399 };

mercurial