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

Unified Diff: src/x64/code-stubs-x64.cc

Issue 12385046: Fix cast warning on Win32 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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/ia32/code-stubs-ia32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/code-stubs-x64.cc
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc
index 23f9603634e58167e5f8f96f9b315ed91b955798..638e23dbd028f6392808a83df3b4a25da6436853 100644
--- a/src/x64/code-stubs-x64.cc
+++ b/src/x64/code-stubs-x64.cc
@@ -5902,14 +5902,14 @@ void ICCompareStub::GenerateUniqueNames(MacroAssembler* masm) {
Label succeed1;
__ testb(tmp1, Immediate(kIsInternalizedMask));
__ j(not_zero, &succeed1, Label::kNear);
- __ cmpb(tmp1, Immediate(static_cast<int8_t>(SYMBOL_TYPE)));
+ __ cmpb(tmp1, Immediate(static_cast<uint8_t>(SYMBOL_TYPE)));
__ j(not_equal, &miss, Label::kNear);
__ bind(&succeed1);
Label succeed2;
__ testb(tmp2, Immediate(kIsInternalizedMask));
__ j(not_zero, &succeed2, Label::kNear);
- __ cmpb(tmp2, Immediate(static_cast<int8_t>(SYMBOL_TYPE)));
+ __ cmpb(tmp2, Immediate(static_cast<uint8_t>(SYMBOL_TYPE)));
__ j(not_equal, &miss, Label::kNear);
__ bind(&succeed2);
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698