Reviewers: Yang,

Message:
Committed patchset #1 manually as r17590.

Description:
Fix ARM build

[email protected]

Committed: http://code.google.com/p/v8/source/detail?r=17590

Please review this at https://codereview.chromium.org/62203010/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+3, -2 lines):
  M test/cctest/test-macro-assembler-arm.cc


Index: test/cctest/test-macro-assembler-arm.cc
diff --git a/test/cctest/test-macro-assembler-arm.cc b/test/cctest/test-macro-assembler-arm.cc index 38c5cc04d0c062bd7cc60f46215d263494570738..e7f079eaaecfbeb556bb24454758a2b27fd55823 100644
--- a/test/cctest/test-macro-assembler-arm.cc
+++ b/test/cctest/test-macro-assembler-arm.cc
@@ -222,8 +222,9 @@ TEST(LoadAndStoreWithRepresentation) {
   // 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