diff options
author | Mike Klein <mtklein@google.com> | 2014-07-16 15:20:58 -0400 |
---|---|---|
committer | Mike Klein <mtklein@google.com> | 2014-07-16 15:20:58 -0400 |
commit | e7fd6db41a8fc34715d0659a27790ec87f754972 (patch) | |
tree | 09c51d0ce15b70274330eedf050a08deb9296cab /include | |
parent | 122f9ecef8618acd9001a034f95976c94ddaca30 (diff) |
Remove yet-unused 64-bit atomic hooks.
For now, I think we'll just be using sk_atomic_inc on 64-bit values, so
let's cut out the dead code for now.
NOTREECHECKS=true
BUG=skia:
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/398003004
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkThread.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/core/SkThread.h b/include/core/SkThread.h index 403b288f19..c8f13a7092 100644 --- a/include/core/SkThread.h +++ b/include/core/SkThread.h @@ -22,20 +22,17 @@ static int64_t sk_atomic_inc(int64_t* addr); * No additional memory barrier is required; this must act as a compiler barrier. */ static int32_t sk_atomic_add(int32_t* addr, int32_t inc); -static int64_t sk_atomic_add(int64_t* addr, int64_t inc); /** Atomically subtracts one from the int referenced by addr and returns the previous value. * This must act as a release (SL/S) memory barrier and as a compiler barrier. */ static int32_t sk_atomic_dec(int32_t* addr); -static int64_t sk_atomic_dec(int64_t* addr); /** Atomic compare and set. * If *addr == before, set *addr to after and return true, otherwise return false. * This must act as a release (SL/S) memory barrier and as a compiler barrier. */ static bool sk_atomic_cas(int32_t* addr, int32_t before, int32_t after); -static bool sk_atomic_cas(int64_t* addr, int64_t before, int64_t after); /** If sk_atomic_dec does not act as an acquire (L/SL) barrier, * this must act as an acquire (L/SL) memory barrier and as a compiler barrier. |