summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-12-28 13:50:24 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commit9352f94a1b7874a254f124ec8e719151d2b02946 (patch)
treecda0f5762249b8de7ee3c1e06957707f0edccdac /lib/ruby_vm/mjit/compiler.rb
parent4eb6f1dbb9062097c65077eda7945f791c7e4464 (diff)
Implement getlocal_WC_0
Diffstat (limited to 'lib/ruby_vm/mjit/compiler.rb')
-rw-r--r--lib/ruby_vm/mjit/compiler.rb35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/compiler.rb b/lib/ruby_vm/mjit/compiler.rb
index 396e93cb04..b24cfe6a7b 100644
--- a/lib/ruby_vm/mjit/compiler.rb
+++ b/lib/ruby_vm/mjit/compiler.rb
@@ -155,6 +155,41 @@ module RubyVM::MJIT
case insn.name
when :putnil then @insn_compiler.putnil(jit, ctx, asm)
when :leave then @insn_compiler.leave(jit, ctx, asm)
+ # throw
+ # jump
+ # branchif
+ # branchunless
+ # branchnil
+ # once
+ # opt_case_dispatch
+ # opt_plus
+ # opt_minus
+ # opt_mult
+ # opt_div
+ # opt_mod
+ # opt_eq
+ # opt_neq
+ # opt_lt
+ # opt_le
+ # opt_gt
+ # opt_ge
+ # opt_ltlt
+ # opt_and
+ # opt_or
+ # opt_aref
+ # opt_aset
+ # opt_aset_with
+ # opt_aref_with
+ # opt_length
+ # opt_size
+ # opt_empty_p
+ # opt_succ
+ # opt_not
+ # opt_regexpmatch2
+ # invokebuiltin
+ # opt_invokebuiltin_delegate
+ # opt_invokebuiltin_delegate_leave
+ when :getlocal_WC_0 then @insn_compiler.getlocal_WC_0(jit, ctx, asm)
else CantCompile
end
end