summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/rjit
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-03-12 22:09:04 -0700
committerTakashi Kokubun <[email protected]>2023-03-12 22:09:05 -0700
commitd27b5948414efd9cd7a041b11744c9aab9222d05 (patch)
tree4ecb93315ebf7002d5d1906f629b15493e2339ce /lib/ruby_vm/rjit
parent330086d3f6d0f05ef6ccdf1e512c19e94e7104f3 (diff)
RJIT: Fix a typo
and import a missing function
Diffstat (limited to 'lib/ruby_vm/rjit')
-rw-r--r--lib/ruby_vm/rjit/insn_compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb
index 50cafb2b92..861a6cb129 100644
--- a/lib/ruby_vm/rjit/insn_compiler.rb
+++ b/lib/ruby_vm/rjit/insn_compiler.rb
@@ -64,7 +64,7 @@ module RubyVM::RJIT
when :setn then setn(jit, ctx, asm)
when :adjuststack then adjuststack(jit, ctx, asm)
when :defined then defined(jit, ctx, asm)
- when :definedvar then definedivar(jit, ctx, asm)
+ when :definedivar then definedivar(jit, ctx, asm)
# checkmatch
# checkkeyword
# checktype