aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_emu.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2013-09-19 17:48:28 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-01-28 15:56:26 +0100
commit63ef0bbfdfb70673fe7f3ce2fc6fa4f0f801747d (patch)
tree7f03c6fcc8e9c9f3bda78b3140011652cff5d6e6 /erts/emulator/beam/beam_emu.c
parent92303a2e1abdf74aa3bc3af095131a59a601c45e (diff)
downloadotp-63ef0bbfdfb70673fe7f3ce2fc6fa4f0f801747d.tar.gz
otp-63ef0bbfdfb70673fe7f3ce2fc6fa4f0f801747d.tar.bz2
otp-63ef0bbfdfb70673fe7f3ce2fc6fa4f0f801747d.zip
erts: Add the size-testing guard BIF map_size/1
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r--erts/emulator/beam/beam_emu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c
index 5c955b9566..1cad31be2c 100644
--- a/erts/emulator/beam/beam_emu.c
+++ b/erts/emulator/beam/beam_emu.c
@@ -5080,6 +5080,8 @@ translate_gc_bif(void* gcf)
return bit_size_1;
} else if (gcf == erts_gc_byte_size_1) {
return byte_size_1;
+ } else if (gcf == erts_gc_map_size_1) {
+ return map_size_1;
} else if (gcf == erts_gc_abs_1) {
return abs_1;
} else if (gcf == erts_gc_float_1) {