diff options
author | Sverker Eriksson <[email protected]> | 2014-11-03 19:51:36 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2014-11-03 19:51:36 +0100 |
commit | 771242f27e7117712b61f901621d89332b3c45e1 (patch) | |
tree | bd3940f59a4e877c8e278dad69bd4dc8aa5b7ec9 /erts/emulator | |
parent | c385f44d46638d54d325cab48c05ed62c819fa86 (diff) | |
parent | 5b4cb838afbe9e700139f810a1c4c9b0e91c511c (diff) | |
download | otp-771242f27e7117712b61f901621d89332b3c45e1.tar.gz otp-771242f27e7117712b61f901621d89332b3c45e1.tar.bz2 otp-771242f27e7117712b61f901621d89332b3c45e1.zip |
Merge branch 'sverk/beam-ranges-bug/OTP-12273' into maint
* sverk/beam-ranges-bug/OTP-12273:
erts: Fix bug in beam_ranges
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/beam/beam_ranges.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_ranges.c b/erts/emulator/beam/beam_ranges.c index 0f2d5d0c2a..cb6470638f 100644 --- a/erts/emulator/beam/beam_ranges.c +++ b/erts/emulator/beam/beam_ranges.c @@ -282,7 +282,7 @@ find_range(BeamInstr* pc) while (low < high) { if (pc < mid->start) { high = mid; - } else if (pc > RANGE_END(mid)) { + } else if (pc >= RANGE_END(mid)) { low = mid + 1; } else { erts_smp_atomic_set_nob(&r[active].mid, (erts_aint_t) mid); |