Revision: 13816
Author:   [email protected]
Date:     Mon Mar  4 08:12:26 2013
Log:      Also fix cast warnings on Win64

[email protected]
BUG=

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

Modified:
 /branches/bleeding_edge/src/x64/code-stubs-x64.cc
 /branches/bleeding_edge/src/x64/macro-assembler-x64.cc

=======================================
--- /branches/bleeding_edge/src/x64/code-stubs-x64.cc Mon Mar 4 07:00:57 2013 +++ /branches/bleeding_edge/src/x64/code-stubs-x64.cc Mon Mar 4 08:12:26 2013
@@ -6261,7 +6261,7 @@
              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 @@
                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);
     }
=======================================
--- /branches/bleeding_edge/src/x64/macro-assembler-x64.cc Mon Mar 4 07:00:57 2013 +++ /branches/bleeding_edge/src/x64/macro-assembler-x64.cc Mon Mar 4 08:12:26 2013
@@ -3059,7 +3059,7 @@
                                            Register instance_type) {
   movq(map, FieldOperand(heap_object, HeapObject::kMapOffset));
   movzxbl(instance_type, FieldOperand(map, Map::kInstanceTypeOffset));
-  cmpb(instance_type, Immediate(static_cast<int8_t>(LAST_NAME_TYPE)));
+  cmpb(instance_type, Immediate(static_cast<uint8_t>(LAST_NAME_TYPE)));
   return below_equal;
 }

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