diff options
author | Sverker Eriksson <[email protected]> | 2016-03-15 19:53:42 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-04 19:53:37 +0200 |
commit | 8b2906d9974decf9e8bab24a8f753ba81a025410 (patch) | |
tree | 988f201ee7791214067393e73914c7b8e170d6ee /erts/emulator/beam/erl_db.c | |
parent | 3261d580be2263b7b4b70ec3c7670a5de963e91c (diff) | |
download | otp-8b2906d9974decf9e8bab24a8f753ba81a025410.tar.gz otp-8b2906d9974decf9e8bab24a8f753ba81a025410.tar.bz2 otp-8b2906d9974decf9e8bab24a8f753ba81a025410.zip |
erts: Add matchspec to 'receive' trace
Diffstat (limited to 'erts/emulator/beam/erl_db.c')
-rw-r--r-- | erts/emulator/beam/erl_db.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_db.c b/erts/emulator/beam/erl_db.c index 615d23402b..acaca54e9a 100644 --- a/erts/emulator/beam/erl_db.c +++ b/erts/emulator/beam/erl_db.c @@ -2833,7 +2833,8 @@ BIF_RETTYPE ets_match_spec_run_r_3(BIF_ALIST_3) BIF_TRAP3(bif_export[BIF_ets_match_spec_run_r_3], BIF_P,lst,BIF_ARG_2,ret); } - res = db_prog_match(BIF_P, mp, CAR(list_val(lst)), NULL, 0, + res = db_prog_match(BIF_P, BIF_P, + mp, CAR(list_val(lst)), NULL, 0, ERTS_PAM_COPY_RESULT, &dummy); if (is_value(res)) { hp = HAlloc(BIF_P, 2); |