Reviewers: Yang,

Description:
build fix for 15025

[email protected]
BUG=

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

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

Affected files:
  M src/api.cc


Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 2deab773bfdf420c1128a6a3051a985f529d8085..48dd0bdf1a38f2a3a01405dfb0760d615c59bd9b 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -4309,7 +4309,9 @@ template<> struct OneByteMask<4> {
   static const uint32_t value = 0xFF00FF00;
 };
 template<> struct OneByteMask<8> {
-  static const uint64_t value = 0xFF00FF00FF00FF00;
+  static const uint64_t value =
+      static_cast<uint64_t>(OneByteMask<4>::value) |
+      static_cast<uint64_t>(OneByteMask<4>::value) << 32;
 };
static const uintptr_t kOneByteMask = OneByteMask<sizeof(uintptr_t)>::value;
 static const uintptr_t kAlignmentMask = sizeof(uintptr_t) - 1;


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