k0kubun 6dd4657fc2 _mjit_compile_send.erb: retry inlining attr_reader
This reverts r63249 (revert r63212) and fixes a bug in it. The test to
prevent the bug is added as well.

vm_insnhelper.c: add `index` argument to vm_getivar. The argument is
created so that MJIT can pass the value of `cc->aux.index` on compilation
time.  The cache invalidation in _mjit_compile_send_guard.erb is only
working for the cache value on compilation time.
Note: As `index` is always passed as constant and it's force-inlined,
the performance of `vm_getivar` won't be degraded in VM.

_mjit_compile_send_guard.erb: New. Used to invalidate inlined values of cc.
common.mk: update dependencies for _mjit_compile_send_guard.erb

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-03 08:47:32 +00:00
..
2018-04-03 08:29:51 +00:00
2017-12-08 05:51:19 +00:00
2017-05-21 16:45:35 +00:00
2017-12-27 01:26:22 +00:00
2017-10-25 23:35:46 +00:00
2017-04-30 10:53:42 +00:00
2017-12-15 14:42:43 +00:00
2018-02-08 02:08:27 +00:00
2017-09-29 13:21:17 +00:00
2017-12-16 01:56:14 +00:00
2017-09-15 17:42:00 +00:00
2017-05-07 13:06:34 +00:00
2018-02-26 06:00:08 +00:00
2018-01-15 02:39:32 +00:00