summaryrefslogtreecommitdiff
path: root/yjit_codegen.c
diff options
context:
space:
mode:
authorNoah Gibbs <noah.gibbs@shopify.com>2021-09-22 17:02:11 +0100
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:41 -0400
commit7704a6990aad2b9f979ada573497ddb7e46eefab (patch)
tree5c266df5e77eb48553e3105acec4369fe07b2423 /yjit_codegen.c
parenta0790e6335094e0124bae3d5b53ed2264fc7a791 (diff)
Fix typo in comment
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r--yjit_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c
index 9045dffa2b..81fab51bd2 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -707,7 +707,7 @@ yjit_gen_block(block_t *block, rb_execution_context_t *ec)
// If we can't compile this instruction
// exit to the interpreter and stop compiling
if (status == YJIT_CANT_COMPILE) {
- // TODO: if the codegen funcion makes changes to ctx and then return YJIT_CANT_COMPILE,
+ // TODO: if the codegen function makes changes to ctx and then return YJIT_CANT_COMPILE,
// the exit this generates would be wrong. We could save a copy of the entry context
// and assert that ctx is the same here.
yjit_gen_exit(jit.pc, ctx, cb);