summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 36f625d1bb..20ca93b596 100644
--- a/iseq.c
+++ b/iseq.c
@@ -257,7 +257,7 @@ iseq_scan_bits(unsigned int page, iseq_bits_t bits, VALUE *code, iseq_value_itr_
original_iseq[page_offset + offset] = newop;
}
}
- bits ^= bits & -bits; // Reset Lowest Set Bit (BLSR)
+ bits &= bits - 1; // Reset Lowest Set Bit (BLSR)
}
}