aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-03-07 11:49:17 +0100
committerBjörn Gustavsson <[email protected]>2011-03-07 11:49:17 +0100
commit440435b56957a1b16a13c69de36cecf15c4bfd12 (patch)
tree5e043ef6f03e55fd8224b13a77b05ed442a1d99f /erts
parent573be65458c5fde3a37184e065812915f3d88015 (diff)
parent22cfda86e15600f8b3622c7ed4101366199e1843 (diff)
downloadotp-440435b56957a1b16a13c69de36cecf15c4bfd12.tar.gz
otp-440435b56957a1b16a13c69de36cecf15c4bfd12.tar.bz2
otp-440435b56957a1b16a13c69de36cecf15c4bfd12.zip
Merge branch 'bjorn/erts/fix-fun-call/OTP-9095' into dev
* bjorn/erts/fix-fun-call/OTP-9095: erts: Initialize register that may be referenced by garbage collection
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/beam/beam_emu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index a4fb454481..e96014c665 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -6398,6 +6398,7 @@ call_fun(Process* p, /* Current process. */
reg[0] = module;
reg[1] = fun;
reg[2] = args;
+ reg[3] = NIL;
return ep->address;
}
}