Index: src/a64/codegen-a64.cc |
diff --git a/src/a64/codegen-a64.cc b/src/a64/codegen-a64.cc |
index 7ce1bfae09e960f9ff807bda3c46d2ca5f0adbdf..3f0e2295df5c014d0f60df57883b9fc84d3568ee 100644 |
--- a/src/a64/codegen-a64.cc |
+++ b/src/a64/codegen-a64.cc |
@@ -42,9 +42,11 @@ namespace internal { |
byte* fast_exp_a64_machine_code = NULL; |
double fast_exp_simulator(double x) { |
Simulator * simulator = Simulator::current(Isolate::Current()); |
- return simulator->CallDouble(fast_exp_a64_machine_code, |
- Simulator::CallArgument(x), |
- Simulator::CallArgument::End()); |
+ Simulator::CallArgument args[] = { |
+ Simulator::CallArgument(x), |
+ Simulator::CallArgument::End() |
+ }; |
+ return simulator->CallDouble(fast_exp_a64_machine_code, args); |
} |
#endif |