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); |
} |