TBR=jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
169793002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19418
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func,
double from) {
#ifdef USE_SIMULATOR
+ Simulator::CallArgument args[] = {
+ Simulator::CallArgument(from),
+ Simulator::CallArgument::End()
+ };
return Simulator::current(Isolate::Current())->CallInt64(
- FUNCTION_ADDR(func), Simulator::CallArgument(from),
- Simulator::CallArgument::End());
+ FUNCTION_ADDR(func), args);
#else
return (*func)(from);
#endif