Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Unified Diff: test/cctest/test-macro-assembler-arm.cc

Issue 62203010: Fix ARM build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698