build fix for 19415
authordcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Feb 2014 15:46:29 +0000 (15:46 +0000)
committerdcarney@chromium.org <dcarney@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 17 Feb 2014 15:46:29 +0000 (15:46 +0000)
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

test/cctest/test-code-stubs-a64.cc

index 5d5d370..5f82d05 100644 (file)
@@ -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