diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-25 14:55:43 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-25 14:55:43 +0000 |
commit | a763bc3c6be8a40e997f5d22c6ec541e9701f618 (patch) | |
tree | 466c58bd2de4a2499dbd2cdaf5d06aaa5c0b1896 /tool/ruby_vm/models | |
parent | 218aa03c0f0b10152616b61939a18f3e479316ba (diff) | |
download | ruby-a763bc3c6be8a40e997f5d22c6ec541e9701f618.tar.gz |
insns.def: s/handles_frame/handles_sp/
because it's more suitable to describe the current behavior now.
tool/ruby_vm/models/bare_instructions.rb: ditto.
tool/ruby_vm/views/_insn_entry.erb: ditto.
tool/ruby_vm/views/_mjit_compile_insn_body.erb: ditto.
tool/ruby_vm/views/_mjit_compile_pc_and_sp.erb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ruby_vm/models')
-rwxr-xr-x | tool/ruby_vm/models/bare_instructions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/ruby_vm/models/bare_instructions.rb b/tool/ruby_vm/models/bare_instructions.rb index 7e573240b5..d2ff1341a0 100755 --- a/tool/ruby_vm/models/bare_instructions.rb +++ b/tool/ruby_vm/models/bare_instructions.rb @@ -101,8 +101,8 @@ class RubyVM::BareInstructions }.join end - def handles_frame? - /\b(false|0)\b/ !~ @attrs['handles_frame'].expr.expr + def handles_sp? + /\b(false|0)\b/ !~ @attrs['handles_sp'].expr.expr end def inspect @@ -129,7 +129,7 @@ class RubyVM::BareInstructions generate_attribute 'rb_num_t', 'retn', rets.size generate_attribute 'rb_num_t', 'width', width generate_attribute 'rb_snum_t', 'sp_inc', rets.size - pops.size - generate_attribute 'bool', 'handles_frame', false + generate_attribute 'bool', 'handles_sp', false end def typesplit a |