OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008, 2010, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2010, 2012 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) | 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 int64_t __sync_sub_and_fetch_8(int64_t volatile* addend, int64_t value) | 101 int64_t __sync_sub_and_fetch_8(int64_t volatile* addend, int64_t value) |
102 { | 102 { |
103 return atomicStep(addend, -value); | 103 return atomicStep(addend, -value); |
104 } | 104 } |
105 | 105 |
106 } // extern "C" | 106 } // extern "C" |
107 | 107 |
108 } // namespace WTF | 108 } // namespace WTF |
109 | 109 |
110 #endif | 110 #endif |
OLD | NEW |