We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ca935 commit 07240e9Copy full SHA for 07240e9
yjit_codegen.c
@@ -1124,6 +1124,8 @@ gen_opt_gt(jitstate_t* jit, ctx_t* ctx)
1124
return gen_fixnum_cmp(jit, ctx, cmovg);
1125
}
1126
1127
+static codegen_status_t gen_opt_send_without_block(jitstate_t *jit, ctx_t *ctx);
1128
+
1129
static codegen_status_t
1130
gen_opt_aref(jitstate_t *jit, ctx_t *ctx)
1131
{
@@ -1265,8 +1267,10 @@ gen_opt_aref(jitstate_t *jit, ctx_t *ctx)
1265
1267
jit_jump_to_next_insn(jit, ctx);
1266
1268
return YJIT_END_BLOCK;
1269
-
- return YJIT_CANT_COMPILE;
1270
+ else {
1271
+ // General case. Call the [] method.
1272
+ return gen_opt_send_without_block(jit, ctx);
1273
+ }
1274
1275
1276
0 commit comments