Commit 7fbd65a7 authored by danno@chromium.org's avatar danno@chromium.org

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
parent 1222255b
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment