dart-sdk/runtime
Daniel Andersson e7fb1c8516 Compatible atomics: volatile for LoadRelaxed, replace FetchAndAdd with FetchAndDecrement.
Using volatile on a word size location will generate a single move instruction without order guarantees and is supported on all compilers.

Replace FetchAndAdd with FetchAndDecrement, since the latter is sufficient and eaiser to implement portably (in particular on some Windows setups).

BUG=https://github.com/dart-lang/sdk/issues/24049
R=iposva@google.com

Review URL: https://codereview.chromium.org//1287853005 .
2015-08-13 09:21:38 -07:00
..
bin Fix arguments passed to FileSystemException from _socketType, when failing to resolve the type. 2015-08-13 09:32:26 +02:00
include Add Dart_ListGetRange 2015-08-12 16:46:38 -07:00
lib Make String.allMatches lazy. 2015-08-12 11:01:21 +02:00
observatory Fix cpu profile table 2015-08-12 17:38:34 -07:00
platform Don't use %p when generating disassembly in vm service. 2015-08-11 11:22:55 -07:00
tests/vm Compatible atomics: volatile for LoadRelaxed, replace FetchAndAdd with FetchAndDecrement. 2015-08-13 09:21:38 -07:00
third_party/double-conversion error can shift more than 32 bits. 2015-07-13 08:50:37 -07:00
tools Decrease Dart binary size by 1.7MB 2015-05-21 13:35:11 -07:00
vm Compatible atomics: volatile for LoadRelaxed, replace FetchAndAdd with FetchAndDecrement. 2015-08-13 09:21:38 -07:00
.gitignore
BUILD.gn Remove dart_debugger_api.h 2015-06-17 14:56:55 -07:00
codereview.settings
CPPLINT.cfg - Use the simulator to do atomic operations that could also 2014-10-27 19:21:33 +00:00
dart-runtime.gyp Remove dart_debugger_api.h 2015-06-17 14:56:55 -07:00
PRESUBMIT.py - Add more data collection to the scavenger. 2013-10-16 23:15:11 +00:00