Skip to content

Commit 2f5ab4c

Browse files
committed
YJIT: Merge impl VALUE blocks [ci skip]
Reported by Kevin Menard.
1 parent 09761e4 commit 2f5ab4c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

yjit/src/cruby.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,7 @@ impl VALUE {
541541

542542
ptr
543543
}
544-
}
545544

546-
impl VALUE {
547545
pub fn fixnum_from_usize(item: usize) -> Self {
548546
assert!(item <= (RUBY_FIXNUM_MAX as usize)); // An unsigned will always be greater than RUBY_FIXNUM_MIN
549547
let k: usize = item.wrapping_add(item.wrapping_add(1));

0 commit comments

Comments
 (0)