aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.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_load.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_load.c')
-rw-r--r--erts/emulator/beam/beam_load.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index 58207ec75b..b589d1c930 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -3783,6 +3783,8 @@ gen_guard_bif1(LoaderState* stp, GenOpArg Fail, GenOpArg Live, GenOpArg Bif,
op->a[1].val = (BeamInstr) (void *) erts_gc_bit_size_1;
} else if (bf == byte_size_1) {
op->a[1].val = (BeamInstr) (void *) erts_gc_byte_size_1;
+ } else if (bf == map_size_1) {
+ op->a[1].val = (BeamInstr) (void *) erts_gc_map_size_1;
} else if (bf == abs_1) {
op->a[1].val = (BeamInstr) (void *) erts_gc_abs_1;
} else if (bf == float_1) {