summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorAlan Wu <alanwu@ruby-lang.org>2022-06-26 08:27:52 -0400
committerAlan Wu <alanwu@ruby-lang.org>2022-06-26 08:36:17 -0400
commitef79f0a9e5b70b177d2fc5c9505ffd865f03382b (patch)
tree64ee77e44bae700bdfec0243a860c9064f3cad7d /yjit
parent2085201176775c1c0b6fd0c4791dbdad6d68c37f (diff)
YJIT: Fix copy pasted comment [ci skip]
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/codegen.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index ef94d58397..7fae75eba6 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -5260,8 +5260,7 @@ fn gen_anytostring(
cb: &mut CodeBlock,
_ocb: &mut OutlinedCb,
) -> CodegenStatus {
- // Save the PC and SP because we might make a Ruby call for
- // Kernel#set_trace_var
+ // Save the PC and SP since we might call #to_s
jit_prepare_routine_call(jit, ctx, cb, REG0);
let str = ctx.stack_pop(1);