From 7fbd65a7f71cab9e70fba2be04d1478c45dbdab2 Mon Sep 17 00:00:00 2001 From: "danno@chromium.org" Date: Fri, 8 Nov 2013 12:23:48 +0000 Subject: [PATCH] Fix ARM build TBR=yangguo@chromium.org Review URL: https://codereview.chromium.org/62203010 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17590 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/test-macro-assembler-arm.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/cctest/test-macro-assembler-arm.cc b/test/cctest/test-macro-assembler-arm.cc index 38c5cc04d0..e7f079eaae 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(buffer); - int32_t result = Simulator::current(Isolate::Current())->Call( - FUNCTION_ADDR(f), 4, 0, 0, 0, 0); + intptr_t result = reinterpret_cast( + CALL_GENERATED_CODE(FUNCTION_ADDR(f), 4, 0, 0, 0, 0)); + CHECK_EQ(0, result); }