Revision: 22446
Author:   [email protected]
Date:     Thu Jul 17 10:34:59 2014 UTC
Log: Add back a static_cast<int32_t> to assembler-arm.cc to fix WebView build.

The WebView Mac builder is having trouble with resolving set_at_offset with an
intptr_t argument to the correct overload. Add back the static_cast which
was present before r22293 to resolve this.

[email protected]

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

Modified:
 /branches/bleeding_edge/src/arm/assembler-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/assembler-arm.cc Wed Jul 9 09:08:37 2014 UTC +++ /branches/bleeding_edge/src/arm/assembler-arm.cc Thu Jul 17 10:34:59 2014 UTC
@@ -3685,7 +3685,8 @@
       if (type == ConstantPoolArray::INT64) {
         constant_pool->set_at_offset(offset, rinfo.data64());
       } else if (type == ConstantPoolArray::INT32) {
-        constant_pool->set_at_offset(offset, rinfo.data());
+        constant_pool->set_at_offset(offset,
+                                     static_cast<int32_t>(rinfo.data()));
       } else if (type == ConstantPoolArray::CODE_PTR) {
         constant_pool->set_at_offset(offset,
reinterpret_cast<Address>(rinfo.data()));

--
--
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/d/optout.

Reply via email to