summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashi.kokubun@shopify.com>2025-11-06 14:14:30 -0800
committerGitHub <noreply@github.com>2025-11-06 14:14:30 -0800
commit9343017673bc4587e45737044bfa70bbe83b9b7e (patch)
treea585ced390202679d85369e6ce187bbdb81dd8a7
parent2998c8d6b99ec49925ebea42198b29c3e27b34a7 (diff)
ZJIT: Fix an incomplete comment (#15088)
-rw-r--r--zjit/src/codegen.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/zjit/src/codegen.rs b/zjit/src/codegen.rs
index 6a7707dd5a..f90c4605a2 100644
--- a/zjit/src/codegen.rs
+++ b/zjit/src/codegen.rs
@@ -2163,7 +2163,8 @@ fn gen_function_stub(cb: &mut CodeBlock, iseq_call: IseqCallRef) -> Result<CodeP
})
}
-/// Generate a trampoline that is used when a
+/// Generate a trampoline that is used when a function stub is called.
+/// See [gen_function_stub] for how it's used.
pub fn gen_function_stub_hit_trampoline(cb: &mut CodeBlock) -> Result<CodePtr, CompileError> {
let (mut asm, scratch_reg) = Assembler::new_with_scratch_reg();
asm_comment!(asm, "function_stub_hit trampoline");