< prev index next >

src/hotspot/share/opto/callnode.cpp

Print this page

        

@@ -1097,10 +1097,18 @@
   st->print("%s", _name);
   CallNode::dump_spec(st);
 }
 #endif
 
+Node *CallLeafNode::Ideal(PhaseGVN *phase, bool can_reshape) {
+  Node* ideal = BarrierSet::barrier_set()->barrier_set_c2()->ideal_node(phase, this, can_reshape);
+  if (ideal != NULL) {
+    return ideal;
+  }
+  return CallNode::Ideal(phase, can_reshape);
+}
+
 //=============================================================================
 
 void SafePointNode::set_local(JVMState* jvms, uint idx, Node *c) {
   assert(verify_jvms(jvms), "jvms must match");
   int loc = jvms->locoff() + idx;
< prev index next >