< prev index next >
src/share/vm/opto/machnode.cpp
Print this page
@@ -714,10 +714,15 @@
//------------------------------Registers--------------------------------------
const RegMask &MachCallNode::in_RegMask(uint idx) const {
// Values in the domain use the users calling convention, embodied in the
// _in_rms array of RegMasks.
+ if (entry_point() == NULL && idx == TypeFunc::Parms) {
+ // Null entry point is a special cast where the target of the call
+ // is in a register.
+ return MachNode::in_RegMask(idx);
+ }
if (idx < tf()->domain_sig()->cnt()) {
return _in_rms[idx];
}
if (idx == mach_constant_base_node_input()) {
return MachConstantBaseNode::static_out_RegMask();
< prev index next >