diff options
author | Rickard Green <[email protected]> | 2012-12-21 03:10:21 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2013-01-23 14:36:16 +0100 |
commit | e3373f0602282040ae7a75b5b7ebbdcae2789c17 (patch) | |
tree | 6bf3274a0c0704770ee702c4ab60a32c293984bf /erts/emulator/beam/bif.h | |
parent | b4d9950e94ab0aedb3a2d2944a8b40f94f738f99 (diff) | |
download | otp-e3373f0602282040ae7a75b5b7ebbdcae2789c17.tar.gz otp-e3373f0602282040ae7a75b5b7ebbdcae2789c17.tar.bz2 otp-e3373f0602282040ae7a75b5b7ebbdcae2789c17.zip |
Bump reductions also for immediate driver calls
Diffstat (limited to 'erts/emulator/beam/bif.h')
-rw-r--r-- | erts/emulator/beam/bif.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/bif.h b/erts/emulator/beam/bif.h index 71f232035d..4e456988a3 100644 --- a/erts/emulator/beam/bif.h +++ b/erts/emulator/beam/bif.h @@ -59,6 +59,8 @@ do { \ } while(0) #define BUMP_REDS(p, gc) do { \ + ASSERT(p); \ + ERTS_SMP_LC_ASSERT(ERTS_PROC_LOCK_MAIN & erts_proc_lc_my_proc_locks(p));\ (p)->fcalls -= (gc); \ if ((p)->fcalls < 0) { \ if (!ERTS_PROC_GET_SAVED_CALLS_BUF((p))) \ |