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

Side by Side Diff: base/atomicops_internals_arm64_gcc.h

Issue 981803003: base: Add/Fix namespace closing comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file is an internal atomic implementation, use base/atomicops.h instead. 5 // This file is an internal atomic implementation, use base/atomicops.h instead.
6 6
7 // TODO(rmcilroy): Investigate whether we can use __sync__ intrinsics instead of 7 // TODO(rmcilroy): Investigate whether we can use __sync__ intrinsics instead of
8 // the hand coded assembly without introducing perf regressions. 8 // the hand coded assembly without introducing perf regressions.
9 // TODO(rmcilroy): Investigate whether we can use acquire / release versions of 9 // TODO(rmcilroy): Investigate whether we can use acquire / release versions of
10 // exclusive load / store assembly instructions and do away with 10 // exclusive load / store assembly instructions and do away with
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ); // NOLINT 294 ); // NOLINT
295 295
296 return value; 296 return value;
297 } 297 }
298 298
299 inline Atomic64 Release_Load(volatile const Atomic64* ptr) { 299 inline Atomic64 Release_Load(volatile const Atomic64* ptr) {
300 MemoryBarrier(); 300 MemoryBarrier();
301 return *ptr; 301 return *ptr;
302 } 302 }
303 303
304 } // namespace base::subtle 304 } // namespace subtle
305 } // namespace base 305 } // namespace base
306 306
307 #endif // BASE_ATOMICOPS_INTERNALS_ARM64_GCC_H_ 307 #endif // BASE_ATOMICOPS_INTERNALS_ARM64_GCC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698