aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-11-03 19:54:26 +0100
committerSverker Eriksson <[email protected]>2014-11-03 19:54:26 +0100
commitb94adca1ddfc73844441eda1791bb63fdef18cf3 (patch)
tree18b0c427fe1268086f083d9a3b0fd0e38fc9df32 /erts/emulator/beam
parentc84fdab1ad76931b98cd298c3421d3202eb7b52a (diff)
parent771242f27e7117712b61f901621d89332b3c45e1 (diff)
downloadotp-b94adca1ddfc73844441eda1791bb63fdef18cf3.tar.gz
otp-b94adca1ddfc73844441eda1791bb63fdef18cf3.tar.bz2
otp-b94adca1ddfc73844441eda1791bb63fdef18cf3.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r--erts/emulator/beam/beam_ranges.c2
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);