Skip to content

Commit 5803088

Browse files
k0kubuntagomoris
authored andcommitted
YJIT: respect the code in master branch
* Originally, k0kubun added a change to respect namespace in gen_block_given ruby@d129669 * Just after the change, XrXr proposes a change on master and he says it can fix the problem around block_given?, and it has been merged into the master ruby#14208 * tagomoris respect the commit on master then will see if it works
1 parent f9ea85d commit 5803088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yjit/src/codegen.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6540,6 +6540,7 @@ fn jit_rb_f_block_given_p(
65406540
true
65416541
}
65426542

6543+
/// Codegen for `block_given?` and `defined?(yield)`
65436544
fn gen_block_given(
65446545
jit: &mut JITState,
65456546
asm: &mut Assembler,

0 commit comments

Comments
 (0)