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

Unified Diff: test/cctest/test-code-stubs-arm64.cc

Issue 1131573006: ARM64: Enable shorten-64-to-32 warning (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months 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 | « src/frames.cc ('k') | test/cctest/test-fuzz-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-code-stubs-arm64.cc
diff --git a/test/cctest/test-code-stubs-arm64.cc b/test/cctest/test-code-stubs-arm64.cc
index 6d5b0f49be786a3d50003f01dc5ad00fb74b897a..8b38b9660099a6b9e8059c6fbaecd69437353013 100644
--- a/test/cctest/test-code-stubs-arm64.cc
+++ b/test/cctest/test-code-stubs-arm64.cc
@@ -142,8 +142,8 @@ int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func,
Simulator::CallArgument(from),
Simulator::CallArgument::End()
};
- return Simulator::current(Isolate::Current())->CallInt64(
- FUNCTION_ADDR(func), args);
+ return static_cast<int32_t>(Simulator::current(Isolate::Current())
+ ->CallInt64(FUNCTION_ADDR(func), args));
#else
return (*func)(from);
#endif
« no previous file with comments | « src/frames.cc ('k') | test/cctest/test-fuzz-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698