YJIT: tag output type as UnknownHeap in toregexp (#7562)

This commit is contained in:
Maxime Chevalier-Boisvert 2023-03-20 10:16:22 -04:00 committed by GitHub
parent 758e4db551
commit 44f444478a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-03-20 14:17:28 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>

View File

@ -7226,7 +7226,7 @@ fn gen_toregexp(
asm.cpop_into(ary);
// The value we want to push on the stack is in RAX right now
let stack_ret = ctx.stack_push(Type::Unknown);
let stack_ret = ctx.stack_push(Type::UnknownHeap);
asm.mov(stack_ret, val);
// Clear the temp array.