Reviewers: Michael Starzinger,

Description:
Fix cast warnings on Win32


[email protected]
BUG=


Please review this at https://codereview.chromium.org/12374087/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/ia32/code-stubs-ia32.cc


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


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to