< prev index next >
src/share/vm/opto/callnode.cpp
Print this page
rev 10498 : C2: add SafePointScalarObjectNodes from ValueTypeNodes to SafePointNodes without an allocation + propagate materialized value type in the graph
*** 815,824 ****
--- 815,834 ----
}
}
return false;
}
+ bool CallNode::has_debug_use(Node *n) {
+ for (uint i = jvms()->debug_start(); i < jvms()->debug_end(); i++) {
+ Node *arg = in(i);
+ if (arg == n) {
+ return true;
+ }
+ }
+ return false;
+ }
+
// Returns the unique CheckCastPP of a call
// or 'this' if there are several CheckCastPP or unexpected uses
// or returns NULL if there is no one.
Node *CallNode::result_cast() {
Node *cast = NULL;
< prev index next >