1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Lock, don't loock.

This commit is contained in:
Alan Wu 2021-08-26 14:28:59 -04:00
parent 0ca04e2dd4
commit 4b815abb37

View file

@ -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)