diff options
author | Rickard Green <[email protected]> | 2016-09-26 17:05:50 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-01-12 15:22:26 +0100 |
commit | 5aff60d96efac96a41b514ed167f13eb787a415f (patch) | |
tree | befc33447680685029e6013f10124fbd8518a618 /erts/emulator/beam/erl_msacc.c | |
parent | 6bcdd45abd97134fddfb5b0307b1d256337b0c67 (diff) | |
download | otp-5aff60d96efac96a41b514ed167f13eb787a415f.tar.gz otp-5aff60d96efac96a41b514ed167f13eb787a415f.tar.bz2 otp-5aff60d96efac96a41b514ed167f13eb787a415f.zip |
Support for dirty BIFs
Diffstat (limited to 'erts/emulator/beam/erl_msacc.c')
-rw-r--r-- | erts/emulator/beam/erl_msacc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_msacc.c b/erts/emulator/beam/erl_msacc.c index 7ddf49937f..66bb55e6c8 100644 --- a/erts/emulator/beam/erl_msacc.c +++ b/erts/emulator/beam/erl_msacc.c @@ -137,8 +137,8 @@ void erts_msacc_init_thread(char *type, int id, int managed) { void erts_msacc_set_bif_state(ErtsMsAcc *__erts_msacc_cache, Eterm mod, void *fn) { #ifdef ERTS_MSACC_EXTENDED_BIFS -#define BIF_LIST(Mod,Func,Arity,FuncAddr,Num) \ - if (fn == &FuncAddr) { \ +#define BIF_LIST(Mod,Func,Arity,BifFuncAddr,FuncAddr,Num) \ + if (fn == &BifFuncAddr) { \ ERTS_MSACC_SET_STATE_CACHED_M_X(ERTS_MSACC_STATIC_STATE_COUNT + Num); \ } else #include "erl_bif_list.h" |