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
This commit is contained in:
danno@chromium.org 2013-11-08 12:23:48 +00:00
parent 1222255b9c
commit 7fbd65a7f7

View File

@ -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);
}