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

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

Issue 12398011: Also fix cast warnings on Win64 (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 | src/x64/macro-assembler-x64.cc » ('j') | 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 83fc246d6b34e51c2a6423018cc10dccc67d9bf1..e2ca0718f65f11ff6475c8980c9059714311c640 100644
--- a/src/x64/code-stubs-x64.cc
+++ b/src/x64/code-stubs-x64.cc
@@ -6261,7 +6261,7 @@ void NameDictionaryLookupStub::GenerateNegativeLookup(MacroAssembler* masm,
Immediate(kIsInternalizedMask));
__ j(not_zero, &good, Label::kNear);
__ cmpb(FieldOperand(entity_name, Map::kInstanceTypeOffset),
- Immediate(static_cast<int8_t>(SYMBOL_TYPE)));
+ Immediate(static_cast<uint8_t>(SYMBOL_TYPE)));
__ j(not_equal, miss);
__ bind(&good);
@@ -6395,7 +6395,7 @@ void NameDictionaryLookupStub::Generate(MacroAssembler* masm) {
Immediate(kIsInternalizedMask));
__ j(not_zero, &cont);
__ cmpb(FieldOperand(scratch, Map::kInstanceTypeOffset),
- Immediate(static_cast<int8_t>(SYMBOL_TYPE)));
+ Immediate(static_cast<uint8_t>(SYMBOL_TYPE)));
__ j(not_equal, &maybe_in_dictionary);
__ bind(&cont);
}
« no previous file with comments | « no previous file | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698