From: dcarney@chromium.org Date: Mon, 17 Feb 2014 15:46:29 +0000 (+0000) Subject: build fix for 19415 X-Git-Tag: upstream/4.7.83~10675 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98d9db7ab3e985541c1bf1fb10604f0d37845efc;p=platform%2Fupstream%2Fv8.git build fix for 19415 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 --- diff --git a/test/cctest/test-code-stubs-a64.cc b/test/cctest/test-code-stubs-a64.cc index 5d5d370..5f82d05 100644 --- a/test/cctest/test-code-stubs-a64.cc +++ b/test/cctest/test-code-stubs-a64.cc @@ -137,9 +137,12 @@ static Isolate* GetIsolateFrom(LocalContext* context) { 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