summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-08-26 14:28:59 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:39 -0400
commit4b815abb373801b94d2471997f1467421620c1e5 (patch)
treeeb08dac5aec82b6d820d9d6aa872ee15019fd2b0
parent0ca04e2dd4d8624df09bf9065b4b96266da4771c (diff)
downloadruby-4b815abb373801b94d2471997f1467421620c1e5.tar.gz
Lock, don't loock.
-rw-r--r--yjit_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c
index 2737791b53..41670189b7 100644
--- a/yjit_codegen.c
+++ b/yjit_codegen.c
@@ -181,7 +181,7 @@ jit_save_sp(jitstate_t* jit, ctx_t* ctx)
// jit_save_pc() + jit_save_sp(). Should be used before calling a routine that
// could:
// - Perform GC allocation
-// - Take the VM loock through RB_VM_LOCK_ENTER()
+// - Take the VM lock through RB_VM_LOCK_ENTER()
// - Perform Ruby method call
static void
jit_prepare_routine_call(jitstate_t *jit, ctx_t *ctx, x86opnd_t scratch_reg)