aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-02-05 19:11:07 +0100
committerBjörn-Egil Dahlberg <[email protected]>2014-02-07 11:27:39 +0100
commit963c06a5b72c2ac8d88a6910ee60248d6dca747d (patch)
tree3db4f9969a6fe94a58aaa7c1bbb250a41babcc1a /erts/emulator
parent1f7324d0fd72b4137fb1f21b0b759ffebdf7ea90 (diff)
downloadotp-963c06a5b72c2ac8d88a6910ee60248d6dca747d.tar.gz
otp-963c06a5b72c2ac8d88a6910ee60248d6dca747d.tar.bz2
otp-963c06a5b72c2ac8d88a6910ee60248d6dca747d.zip
erts: Maps must fail on exact updates of empty Maps
Exact updates on empty Maps must fail directly.
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/beam_emu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 4d8ea354ce..1ae413d46e 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -6614,7 +6614,7 @@ update_map_exact(Process* p, Eterm* reg, Eterm map, BeamInstr* I)
*/
if (num_old == 0) {
- return new_map(p, reg, I+1);
+ return THE_NON_VALUE;
}
/*