diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 18:43:19 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 18:43:19 +0100 |
commit | 7e045b2c7e545d5640e74280b2e7f75761961c39 (patch) | |
tree | d8c80db9b200eb0803082533cf181e2358c582d2 /erts/emulator/beam | |
parent | e0e056a62c240542decac2e2b3765a5399efae62 (diff) | |
download | otp-7e045b2c7e545d5640e74280b2e7f75761961c39.tar.gz otp-7e045b2c7e545d5640e74280b2e7f75761961c39.tar.bz2 otp-7e045b2c7e545d5640e74280b2e7f75761961c39.zip |
erts: Fix beam_load assert
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/beam_load.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c index fce710f723..02689e5b19 100644 --- a/erts/emulator/beam/beam_load.c +++ b/erts/emulator/beam/beam_load.c @@ -3727,7 +3727,7 @@ gen_select_val(LoaderState* stp, GenOpArg S, GenOpArg Fail, op->a[j+size] = Fail; #ifdef DEBUG - for (i = 0; i < size; i++) { + for (i = 0; i < size - 1; i++) { ASSERT(op->a[i+3].val <= op->a[i+4].val); } #endif |