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

Side by Side Diff: third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h

Issue 9667026: Revert 126020 - Experiment for updating the tcmalloc chromium branch to r144 (gperftools 2.0). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2003, Google Inc. 1 // Copyright (c) 2003, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
(...skipping 21 matching lines...) Expand all
32 // 32 //
33 // This file is an internal atomic implementation, use base/atomicops.h instead. 33 // This file is an internal atomic implementation, use base/atomicops.h instead.
34 // 34 //
35 // LinuxKernelCmpxchg and Barrier_AtomicIncrement are from Google Gears. 35 // LinuxKernelCmpxchg and Barrier_AtomicIncrement are from Google Gears.
36 36
37 #ifndef BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_ 37 #ifndef BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_
38 #define BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_ 38 #define BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_
39 39
40 #include <stdio.h> 40 #include <stdio.h>
41 #include <stdlib.h> 41 #include <stdlib.h>
42 #include "base/basictypes.h" 42 #include "base/macros.h" // For COMPILE_ASSERT
43 #include "base/port.h" // ATTRIBUTE_WEAK
43 44
44 typedef int32_t Atomic32; 45 typedef int32_t Atomic32;
45 46
46 namespace base { 47 namespace base {
47 namespace subtle { 48 namespace subtle {
48 49
49 typedef int64_t Atomic64; 50 typedef int64_t Atomic64;
50 51
51 // 0xffff0fc0 is the hard coded address of a function provided by 52 // 0xffff0fc0 is the hard coded address of a function provided by
52 // the kernel which implements an atomic compare-exchange. On older 53 // the kernel which implements an atomic compare-exchange. On older
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 Atomic64 old_value, 227 Atomic64 old_value,
227 Atomic64 new_value) { 228 Atomic64 new_value) {
228 NotImplementedFatalError("Atomic64 Release_CompareAndSwap"); 229 NotImplementedFatalError("Atomic64 Release_CompareAndSwap");
229 return 0; 230 return 0;
230 } 231 }
231 232
232 } // namespace base::subtle 233 } // namespace base::subtle
233 } // namespace base 234 } // namespace base
234 235
235 #endif // BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_ 236 #endif // BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698