mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
6718676: putback for 6604014 is incomplete
Reviewed-by: kvn, jrose
This commit is contained in:
parent
a671e7c7b5
commit
873da1efe8
108 changed files with 4499 additions and 1809 deletions
|
@ -84,6 +84,7 @@ class Matcher : public PhaseTransform {
|
|||
Node_Array _shared_nodes;
|
||||
|
||||
debug_only(Node_Array _old2new_map;) // Map roots of ideal-trees to machine-roots
|
||||
debug_only(Node_Array _new2old_map;) // Maps machine nodes back to ideal
|
||||
|
||||
// Accessors for the inherited field PhaseTransform::_nodes:
|
||||
void grow_new_node_array(uint idx_limit) {
|
||||
|
@ -390,5 +391,9 @@ public:
|
|||
|
||||
#ifdef ASSERT
|
||||
void dump_old2new_map(); // machine-independent to machine-dependent
|
||||
|
||||
Node* find_old_node(Node* new_node) {
|
||||
return _new2old_map[new_node->_idx];
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue