Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: src/base/atomicops.h

Issue 866843003: Contribution of PowerPC port (continuation of 422063005) - AIX Common1 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/base/atomicops.h
diff --git a/src/base/atomicops.h b/src/base/atomicops.h
index d059a019647bb4860fb20618907954687d5167ec..d4c517bf9d619baa18128534766d949c533a0fef 100644
--- a/src/base/atomicops.h
+++ b/src/base/atomicops.h
@@ -56,7 +56,11 @@ typedef intptr_t Atomic64;
// Use AtomicWord for a machine-sized pointer. It will use the Atomic32 or
// Atomic64 routines below, depending on your architecture.
+#if V8_OS_AIX && V8_HOST_ARCH_32_BIT
+typedef Atomic32 AtomicWord;
Sven Panne 2015/01/27 11:47:05 Hmmm, why do we need this?
michael_dawson 2015/01/29 00:08:29 It looks like this was to deal with the case menti
+#else
typedef intptr_t AtomicWord;
+#endif
// Atomically execute:
// result = *ptr;

Powered by Google App Engine
This is Rietveld 408576698