From 44f444478afad954f046d8345cafb3842708a4ca Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Mon, 20 Mar 2023 10:16:22 -0400 Subject: [PATCH] YJIT: tag output type as UnknownHeap in `toregexp` (#7562) --- yjit/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs index fd40e7ea13..6b840ee475 100644 --- a/yjit/src/codegen.rs +++ b/yjit/src/codegen.rs @@ -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.