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