diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2023-03-20 10:16:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-20 10:16:22 -0400 |
commit | 44f444478afad954f046d8345cafb3842708a4ca (patch) | |
tree | 03ddce3ff948487ae9f45679489fc374fa730d1a /yjit | |
parent | 758e4db551e7e80a65b610cc73fcb61e74ec5a0c (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.rs | 2 |
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. |