< prev index next >
src/share/vm/opto/generateOptoStub.cpp
Print this page
rev 10504 : value type calling convention
@@ -44,11 +44,11 @@
int is_fancy_jump,
bool pass_tls,
bool return_pc) {
ResourceMark rm;
- const TypeTuple *jdomain = C->tf()->domain();
+ 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,11 +164,11 @@
}
}
const TypeTuple* range = TypeTuple::make(jrange->cnt(), rfields);
// Final C signature
- const TypeFunc *c_sig = TypeFunc::make(domain, range);
+ 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 >