< prev index next >
src/hotspot/share/opto/machnode.cpp
Print this page
@@ -799,10 +799,24 @@
void MachCallRuntimeNode::dump_spec(outputStream *st) const {
st->print("%s ",_name);
MachCallNode::dump_spec(st);
}
#endif
+
+uint MachCallLeafNode::size_of() const { return sizeof(*this); }
+uint MachCallLeafNode::cmp( const Node &n ) const {
+ MachCallLeafNode &call = (MachCallLeafNode&)n;
+ return MachCallRuntimeNode::cmp(call) && _preserves_fp_registers == call._preserves_fp_registers;
+}
+#ifndef PRODUCT
+void MachCallLeafNode::dump_spec(outputStream *st) const {
+ if (_preserves_fp_registers) {
+ st->print("preserves_fp_registers ");
+ }
+ MachCallRuntimeNode::dump_spec(st);
+}
+#endif
//=============================================================================
// A shared JVMState for all HaltNodes. Indicates the start of debug info
// is at TypeFunc::Parms. Only required for SOE register spill handling -
// to indicate where the stack-slot-only debug info inputs begin.
// There is no other JVM state needed here.
< prev index next >