summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/insn_compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2023-01-03 23:51:37 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commitee80b2be20ae8a5102ac478f2b0fc0cf8786eaa3 (patch)
tree46bb4a1d943327afb5ab98843edae6032f80ffdd /lib/ruby_vm/mjit/insn_compiler.rb
parenta8dec34961d7734ad975e44efa8aae361a1c4f5a (diff)
Fix broken stats
Diffstat (limited to 'lib/ruby_vm/mjit/insn_compiler.rb')
-rw-r--r--lib/ruby_vm/mjit/insn_compiler.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ruby_vm/mjit/insn_compiler.rb b/lib/ruby_vm/mjit/insn_compiler.rb
index 2950536e8e..c17167a4ac 100644
--- a/lib/ruby_vm/mjit/insn_compiler.rb
+++ b/lib/ruby_vm/mjit/insn_compiler.rb
@@ -280,11 +280,11 @@ module RubyVM::MJIT
recv_index = ctx.stack_size - 2
obj_index = ctx.stack_size - 1
- asm.comment('guard recv is fixnum');
+ asm.comment('guard recv is fixnum') # TODO: skip this with type information
asm.test([SP, C.VALUE.size * recv_index], C.RUBY_FIXNUM_FLAG)
asm.je(side_exit(jit, ctx))
- asm.comment('guard obj is fixnum');
+ asm.comment('guard obj is fixnum') # TODO: skip this with type information
asm.test([SP, C.VALUE.size * obj_index], C.RUBY_FIXNUM_FLAG)
asm.je(side_exit(jit, ctx))