summaryrefslogtreecommitdiff
path: root/tool/transform_mjit_header.rb
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-07 14:35:28 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-07 14:35:28 +0000
commit0a2fb188e397d69a2b68d98b797fe0b68d4d11ee (patch)
tree8c85b60f0ffabf2e0c8090438ddad689f581ca28 /tool/transform_mjit_header.rb
parentc31f6285c71ec0ad8052205d7029986453c465ce (diff)
transform_mjit_header.rb: inline ivar operations
* Optcarrot before,--jit: ruby 2.6.0dev (2018-03-07 trunk 62689) +JIT [x86_64-linux] after,--jit: ruby 2.6.0dev (2018-03-07 trunk 62689) +JIT [x86_64-linux] last_commit=transform_mjit_header.rb: inline ivar operations Calculating ------------------------------------- before,--jit after,--jit optcarrot 67.852 69.359 fps Comparison: optcarrot after,--jit: 69.4 fps before,--jit: 67.9 fps - 1.02x slower git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/transform_mjit_header.rb')
-rw-r--r--tool/transform_mjit_header.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/transform_mjit_header.rb b/tool/transform_mjit_header.rb
index 4a42589824a..1f4e25d3aae 100644
--- a/tool/transform_mjit_header.rb
+++ b/tool/transform_mjit_header.rb
@@ -53,6 +53,9 @@ module MJITHeader
'vm_opt_aref_with',
'vm_opt_aset_with',
'vm_opt_not',
+ 'vm_getinstancevariable',
+ 'vm_setinstancevariable',
+ 'vm_setivar',
]
# Return start..stop of last decl in CODE ending STOP