mirror of
https://github.com/ruby/ruby.git
synced 2025-08-27 15:06:10 +02:00
Implement nop
This commit is contained in:
parent
3ed7fa76e0
commit
0a400f38e8
1 changed files with 10 additions and 3 deletions
|
@ -17,9 +17,9 @@ module RubyVM::MJIT
|
|||
asm.incr_counter(:mjit_insns_count)
|
||||
asm.comment("Insn: #{insn.name}")
|
||||
|
||||
# 13/101
|
||||
# 14/101
|
||||
case insn.name
|
||||
# nop
|
||||
when :nop then nop(jit, ctx, asm)
|
||||
# getlocal
|
||||
# setlocal
|
||||
# getblockparam
|
||||
|
@ -129,7 +129,14 @@ module RubyVM::MJIT
|
|||
# Insns
|
||||
#
|
||||
|
||||
# nop
|
||||
# @param jit [RubyVM::MJIT::JITState]
|
||||
# @param ctx [RubyVM::MJIT::Context]
|
||||
# @param asm [RubyVM::MJIT::Assembler]
|
||||
def nop(jit, ctx, asm)
|
||||
# Do nothing
|
||||
KeepCompiling
|
||||
end
|
||||
|
||||
# getlocal
|
||||
# setlocal
|
||||
# getblockparam
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue