1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/ruby_vm/views
Takashi Kokubun 5611066e03
Prefer RB_OBJ_FROZEN_RAW
following the original implementation's change.
RB_TYPE_P(obj, T_OBJECT) is already checked in these places.

```
$ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml
before --jit: ruby 3.0.0dev (2020-12-19T08:27:44Z master 52b1716c78) +JIT [x86_64-linux]
after --jit: ruby 3.0.0dev (2020-12-19T08:27:44Z master 52b1716c78) +JIT [x86_64-linux]
Calculating -------------------------------------
                                 before --jit           after --jit
Optcarrot Lan_Master.nes    88.04551460097873     84.38303800957766 fps
                            88.25194345156318     85.31098251408059
                            88.34143982084871     86.60491582339496
                            88.63486879856976     88.23675694701865
                            88.85392212902701     88.23696283371444
                            89.05739427483194     88.97185459567562
                            89.08141031147311     90.16373192658857
                            89.11359420883423     90.61655686444394
                            89.80323392966130     90.77044959019291
                            90.58912189625207     90.88534596330966
                            90.59847996970350     91.34314801302897
                            90.61180456415137     93.11599164249547
```
2020-12-19 00:34:33 -08:00
..
_attributes.erb
_c_expr.erb
_comptime_insn_stack_increase.erb
_copyright.erb
_insn_entry.erb
_insn_len_info.erb
_insn_name_info.erb
_insn_operand_info.erb
_insn_sp_pc_dependency.erb
_insn_type_chars.erb
_leaf_helpers.erb Lazily move PC with RUBY_VM_CHECK_INTS 2020-12-16 23:06:28 -08:00
_mjit_compile_getinlinecache.erb Inline getconstant on JIT (#3906) 2020-12-16 06:24:07 -08:00
_mjit_compile_insn.erb Delay definition of pc_moved_p 2020-04-06 01:55:18 -07:00
_mjit_compile_insn_body.erb Lazily move PC with RUBY_VM_CHECK_INTS 2020-12-16 23:06:28 -08:00
_mjit_compile_invokebuiltin.erb skip inlining cexpr! that are not attr! inline 2020-07-16 11:49:09 +09:00
_mjit_compile_ivar.erb Prefer RB_OBJ_FROZEN_RAW 2020-12-19 00:34:33 -08:00
_mjit_compile_pc_and_sp.erb Lazily move PC with RUBY_VM_CHECK_INTS 2020-12-16 23:06:28 -08:00
_mjit_compile_send.erb fix inline method cache sync bug 2020-12-15 13:29:30 +09:00
_notice.erb
_sp_inc_helpers.erb
_trace_instruction.erb Remove the pc argument of vm_trace() 2020-09-01 22:02:29 -04:00
insns.inc.erb
insns_info.inc.erb
mjit_compile.inc.erb Inline getconstant on JIT (#3906) 2020-12-16 06:24:07 -08:00
opt_sc.inc.erb
optinsn.inc.erb
optunifs.inc.erb
vm.inc.erb
vmtc.inc.erb