Reviewers: ulan, jochen, JF,

Description:
ARM64: Fix the atomic type width in the 64bit Acquire_Load().

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

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

Affected files (+1, -1 lines):
  M src/atomicops_internals_arm64_gcc.h


Index: src/atomicops_internals_arm64_gcc.h
diff --git a/src/atomicops_internals_arm64_gcc.h b/src/atomicops_internals_arm64_gcc.h index 356b89734303b62b3ce5774e27e3d80f49f644d8..f6ed5de602695239e943a96ecb8744d22ae7cbff 100644
--- a/src/atomicops_internals_arm64_gcc.h
+++ b/src/atomicops_internals_arm64_gcc.h
@@ -309,7 +309,7 @@ inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) {
 }

 inline Atomic64 Acquire_Load(volatile const Atomic64* ptr) {
-  Atomic32 value;
+  Atomic64 value;

   __asm__ __volatile__ (  // NOLINT
     "ldar %x[value], %[ptr]  \n\t"


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