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