summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-05-27 11:30:38 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:35 -0400
commitd01204a15da9afcd4ddcc48ec022f9bf92db0a70 (patch)
tree9b486334147f0fea3bf581c33af4c2df95748c63
parent546ca8167d341bca2b7a1927950a0369b5185bf0 (diff)
Disable extra T_OBJECT check added because of Nokogiri
-rw-r--r--yjit_codegen.c2
1 files changed, 2 insertions, 0 deletions
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
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
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;