Revision: 13812
Author:   [email protected]
Date:     Mon Mar  4 07:15:37 2013
Log:      Fix cast warnings on Win32

[email protected]
BUG=

Review URL: https://codereview.chromium.org/12374087
http://code.google.com/p/v8/source/detail?r=13812

Modified:
 /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc

=======================================
--- /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc Mon Mar 4 07:00:57 2013 +++ /branches/bleeding_edge/src/ia32/code-stubs-ia32.cc Mon Mar 4 07:15:37 2013
@@ -7283,7 +7283,7 @@
               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 @@
                 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