< prev index next >
src/share/vm/opto/addnode.hpp
Print this page
rev 8739 : 8004073: Implement C2 Ideal node specific dump() method
Summary: add Node::dump_rel() to dump a node and its related nodes (the notion of "related" depends on the node at hand); add Node::dump_comp() to dump a node in compact representation; add Node::dump_rel_comp() to dump a node and its related nodes in compact representation; add the required machinery; extend some C2 IR nodes with compact and related dumping
Reviewed-by:
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
@@ -66,10 +66,14 @@
virtual const Type *add_ring( const Type *, const Type * ) const = 0;
// Supplied function to return the additive identity type
virtual const Type *add_id() const = 0;
+#ifndef PRODUCT
+ REL_IN_DATA_OUT_1;
+#endif
+
};
//------------------------------AddINode---------------------------------------
// Add 2 integers
class AddINode : public AddNode {
@@ -156,10 +160,14 @@
// if there are more than length.
int unpack_offsets(Node* elements[], int length);
// Do not match base-ptr edge
virtual uint match_edge(uint idx) const;
+
+#ifndef PRODUCT
+ REL_IN_DATA_OUT_1;
+#endif
};
//------------------------------OrINode----------------------------------------
// Logically OR 2 integers. Included with the ADD nodes because it inherits
// all the behavior of addition on a ring.
< prev index next >