Revision: 17590
Author:   [email protected]
Date:     Fri Nov  8 12:23:48 2013 UTC
Log:      Fix ARM build

[email protected]

Review URL: https://codereview.chromium.org/62203010
http://code.google.com/p/v8/source/detail?r=17590

Modified:
 /branches/bleeding_edge/test/cctest/test-macro-assembler-arm.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-macro-assembler-arm.cc Fri Nov 8 11:50:23 2013 UTC +++ /branches/bleeding_edge/test/cctest/test-macro-assembler-arm.cc Fri Nov 8 12:23:48 2013 UTC
@@ -222,8 +222,9 @@
   // Call the function from C++.

   F0 f = FUNCTION_CAST<F0>(buffer);
-  int32_t result = Simulator::current(Isolate::Current())->Call(
-      FUNCTION_ADDR(f), 4, 0, 0, 0, 0);
+  intptr_t result = reinterpret_cast<intptr_t>(
+      CALL_GENERATED_CODE(FUNCTION_ADDR(f), 4, 0, 0, 0, 0));
+
   CHECK_EQ(0, result);
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to