< prev index next >
src/share/vm/opto/generateOptoStub.cpp
Print this page
rev 10504 : value type calling convention
*** 44,54 ****
int is_fancy_jump,
bool pass_tls,
bool return_pc) {
ResourceMark rm;
! const TypeTuple *jdomain = C->tf()->domain();
const TypeTuple *jrange = C->tf()->range();
// The procedure start
StartNode* start = new StartNode(root(), jdomain);
_gvn.set_type_bottom(start);
--- 44,54 ----
int is_fancy_jump,
bool pass_tls,
bool return_pc) {
ResourceMark rm;
! const TypeTuple *jdomain = C->tf()->domain_sig();
const TypeTuple *jrange = C->tf()->range();
// The procedure start
StartNode* start = new StartNode(root(), jdomain);
_gvn.set_type_bottom(start);
*** 164,174 ****
}
}
const TypeTuple* range = TypeTuple::make(jrange->cnt(), rfields);
// Final C signature
! const TypeFunc *c_sig = TypeFunc::make(domain, range);
//-----------------------------
// Make the call node.
CallRuntimeNode *call = new CallRuntimeNode(c_sig, C_function, name, TypePtr::BOTTOM);
//-----------------------------
--- 164,174 ----
}
}
const TypeTuple* range = TypeTuple::make(jrange->cnt(), rfields);
// Final C signature
! const TypeFunc *c_sig = TypeFunc::make(domain, domain, range);
//-----------------------------
// Make the call node.
CallRuntimeNode *call = new CallRuntimeNode(c_sig, C_function, name, TypePtr::BOTTOM);
//-----------------------------
< prev index next >