summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2023-03-20 10:16:22 -0400
committerGitHub <noreply@github.com>2023-03-20 10:16:22 -0400
commit44f444478afad954f046d8345cafb3842708a4ca (patch)
tree03ddce3ff948487ae9f45679489fc374fa730d1a /yjit
parent758e4db551e7e80a65b610cc73fcb61e74ec5a0c (diff)
YJIT: tag output type as UnknownHeap in `toregexp` (#7562)
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
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.