summaryrefslogtreecommitdiff
path: root/spec/ruby/core/basicobject/instance_exec_spec.rb
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-07-02 09:44:23 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-07-02 14:34:30 +0900
commitbf3f03c9258dab45fee891007c7806f2d095db09 (patch)
treee0ad1fc433c9afdfab7615a003eb718800b1f09b /spec/ruby/core/basicobject/instance_exec_spec.rb
parent49029811d998d919c1f31f39e7a4b82f42ff3eaa (diff)
integer.rbinc: do not generate C functions
This changeset changes for instance Integer#integer? from: == disasm: #<ISeq:to_i@<internal:integer>:66 (66,2)-(69,5)> (catch: FALSE) 0000 opt_invokebuiltin_delegate_leave <builtin!_bi7/0>, 0 (68)[LiCa] 0003 leave (69)[Re] to: == disasm: #<ISeq:to_i@<internal:integer>:66 (66,2)-(69,5)> (catch: FALSE) 0000 putself (68)[LiCa] 0001 leave (69)[Re] which is of course faster.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3277
Diffstat (limited to 'spec/ruby/core/basicobject/instance_exec_spec.rb')
0 files changed, 0 insertions, 0 deletions