ruby-changes:69010
From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:16:05 +0900 (JST)
Subject: [ruby-changes:69010] d01204a15d (master): Disable extra T_OBJECT check added because of Nokogiri
https://git.ruby-lang.org/ruby.git/commit/?id=d01204a15d From d01204a15da9afcd4ddcc48ec022f9bf92db0a70 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...> Date: Thu, 27 May 2021 11:30:38 -0400 Subject: Disable extra T_OBJECT check added because of Nokogiri --- yjit_codegen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yjit_codegen.c b/yjit_codegen.c index 8a8a9aa565..a2572520c8 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -1039,6 +1039,7 @@ gen_get_ivar(jitstate_t *jit, ctx_t *ctx, const int max_chain_depth, VALUE compt https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L1039 return YJIT_END_BLOCK; } + /* // FIXME: // This check was added because of a failure in a test involving the // Nokogiri Document class where we see a T_DATA that still has the default @@ -1055,6 +1056,7 @@ gen_get_ivar(jitstate_t *jit, ctx_t *ctx, const int max_chain_depth, VALUE compt https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L1056 and(cb, REG1, imm_opnd(RUBY_T_MASK)); cmp(cb, REG1, imm_opnd(T_OBJECT)); jit_chain_guard(JCC_JNE, jit, &starting_context, max_chain_depth, side_exit); + */ // ID for the name of the ivar ID id = ivar_name; -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/