summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-12-28 14:43:04 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commit7a19aad8c355c1f476712afa3024a71e630f43dc (patch)
tree649fee4997826b9daa2f94b96146799d8c838a7f /lib/ruby_vm/mjit/compiler.rb
parent9352f94a1b7874a254f124ec8e719151d2b02946 (diff)
Implement putobject
Diffstat (limited to 'lib/ruby_vm/mjit/compiler.rb')
-rw-r--r--lib/ruby_vm/mjit/compiler.rb59
1 files changed, 59 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/compiler.rb b/lib/ruby_vm/mjit/compiler.rb
index b24cfe6a7b..532dbe01ea 100644
--- a/lib/ruby_vm/mjit/compiler.rb
+++ b/lib/ruby_vm/mjit/compiler.rb
@@ -153,7 +153,66 @@ module RubyVM::MJIT
asm.comment("Insn: #{insn.name}")
case insn.name
+ # nop
+ # getlocal
+ # setlocal
+ # getblockparam
+ # setblockparam
+ # getblockparamproxy
+ # getspecial
+ # setspecial
+ # getinstancevariable
+ # setinstancevariable
+ # getclassvariable
+ # setclassvariable
+ # opt_getconstant_path
+ # getconstant
+ # setconstant
+ # getglobal
+ # setglobal
when :putnil then @insn_compiler.putnil(jit, ctx, asm)
+ # putself
+ when :putobject then @insn_compiler.putobject(jit, ctx, asm)
+ # putspecialobject
+ # putstring
+ # concatstrings
+ # anytostring
+ # toregexp
+ # intern
+ # newarray
+ # newarraykwsplat
+ # duparray
+ # duphash
+ # expandarray
+ # concatarray
+ # splatarray
+ # newhash
+ # newrange
+ # pop
+ # dup
+ # dupn
+ # swap
+ # opt_reverse
+ # topn
+ # setn
+ # adjuststack
+ # defined
+ # checkmatch
+ # checkkeyword
+ # checktype
+ # defineclass
+ # definemethod
+ # definesmethod
+ # send
+ # opt_send_without_block
+ # objtostring
+ # opt_str_freeze
+ # opt_nil_p
+ # opt_str_uminus
+ # opt_newarray_max
+ # opt_newarray_min
+ # invokesuper
+ # invokeblock
when :leave then @insn_compiler.leave(jit, ctx, asm)
# throw
# jump