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

Unified Diff: test/cctest/test-assembler-mips64.cc

Issue 1493793002: MIPS: Fixing CLANG compilation warnings (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« src/mips64/cpu-mips64.cc ('K') | « src/mips64/cpu-mips64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-assembler-mips64.cc
diff --git a/test/cctest/test-assembler-mips64.cc b/test/cctest/test-assembler-mips64.cc
index 67143e61d40529135e0fe3007522a94a8c756112..8188154e8e4ee26a1a5cca9a105301f888e9d03e 100644
--- a/test/cctest/test-assembler-mips64.cc
+++ b/test/cctest/test-assembler-mips64.cc
@@ -4629,7 +4629,8 @@ uint64_t run_align(uint64_t rs_value, uint64_t rt_value, uint8_t bp) {
F2 f = FUNCTION_CAST<F2>(code->entry());
uint64_t res = reinterpret_cast<uint64_t>(
- CALL_GENERATED_CODE(isolate, f, rs_value, rt_value, 0, 0, 0));
+ CALL_GENERATED_CODE(isolate, f, static_cast<int>(rs_value),
+ static_cast<int>(rt_value), 0, 0, 0));
balazs.kilvady 2015/12/02 18:49:07 If F2 function type (with int params) is used abov
ivica.bogosavljevic 2015/12/03 10:36:24 Acknowledged.
return res;
}
@@ -5720,7 +5721,7 @@ uint64_t run_dsll(uint64_t rt_value, uint16_t sa_value) {
F2 f = FUNCTION_CAST<F2>(code->entry());
uint64_t res = reinterpret_cast<uint64_t>(
- CALL_GENERATED_CODE(isolate, f, rt_value, 0, 0, 0, 0));
+ CALL_GENERATED_CODE(isolate, f, static_cast<int>(rt_value), 0, 0, 0, 0));
return res;
}
« src/mips64/cpu-mips64.cc ('K') | « src/mips64/cpu-mips64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698