aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/Makefile
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-02-17 15:26:01 +0100
committerRickard Green <[email protected]>2017-02-20 14:40:16 +0100
commit0a144d1fc4bebefcc74b0cb63fe76809bc041789 (patch)
tree164ac556f93f6b2531a9fb168509d58db66c938c /erts/emulator/test/Makefile
parentaa315e1cf1b79ab782e5b4c944595495ebf4e2f4 (diff)
downloadotp-0a144d1fc4bebefcc74b0cb63fe76809bc041789.tar.gz
otp-0a144d1fc4bebefcc74b0cb63fe76809bc041789.tar.bz2
otp-0a144d1fc4bebefcc74b0cb63fe76809bc041789.zip
Ensure prim_eval:'receive' wont clobber def_arg_reg[0]
def_arg_reg[0] is used for storage of timeout instruction when a 'receive after' is executed. When a process was scheduled out inside prim_eval:'receive'/0 due to a function call, def_arg_reg[0] was overwritten due to storage of live registers. prim_eval:'receive'/2 now calls arg_reg_alloc/0 which bumps all reductions and then calls arg_reg_alloc/7 which will cause an allocation of a new arg_reg array since def_arg_reg only can hold 6 values. This ensures that the timeout instruction in def_arg_reg[0] used for the timeout wont be overwritten.
Diffstat (limited to 'erts/emulator/test/Makefile')
-rw-r--r--erts/emulator/test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/test/Makefile b/erts/emulator/test/Makefile
index 2e48c475d5..453f819d1b 100644
--- a/erts/emulator/test/Makefile
+++ b/erts/emulator/test/Makefile
@@ -87,6 +87,7 @@ MODULES= \
op_SUITE \
port_SUITE \
port_bif_SUITE \
+ prim_eval_SUITE \
process_SUITE \
pseudoknot_SUITE \
receive_SUITE \