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

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

Issue 12374087: Fix cast warnings 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/code-stubs-ia32.cc
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
index 0ce8dec487c81fe84f112071d80feedff3210156..b0a32eadcfc85e54a2cdfe20d0cb6269ad0b0d67 100644
--- a/src/ia32/code-stubs-ia32.cc
+++ b/src/ia32/code-stubs-ia32.cc
@@ -7283,7 +7283,7 @@ void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm,
kIsInternalizedMask);
__ j(not_zero, &good);
__ cmpb(FieldOperand(entity_name, Map::kInstanceTypeOffset),
- static_cast<int8_t>(SYMBOL_TYPE));
+ static_cast<uint8_t>(SYMBOL_TYPE));
__ j(not_equal, miss);
__ bind(&good);
}
@@ -7423,7 +7423,7 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) {
kIsInternalizedMask);
__ j(not_zero, &cont);
__ cmpb(FieldOperand(scratch, Map::kInstanceTypeOffset),
- static_cast<int8_t>(SYMBOL_TYPE));
+ static_cast<uint8_t>(SYMBOL_TYPE));
__ j(not_equal, &maybe_in_dictionary);
__ bind(&cont);
}
« 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