hotspot/src/share/vm/opto/matcher.hpp
changeset 768 d0bebc7eefc2
parent 762 1b26adb5fea1
child 781 e1baa9c8f16f
equal deleted inserted replaced
767:64fb1fd7186d 768:d0bebc7eefc2
    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 };