summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel/method_spec.rb
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-07-06 15:10:10 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-07-10 12:23:41 +0900
commit0e276dc458f94d9d79a0f7c7669bde84abe80f21 (patch)
treefb1d6fe1bb5dd271e1331466fd45d672136b53cb /spec/ruby/core/kernel/method_spec.rb
parent215c6fa3d012221d89420cbdf1416f65d7179a24 (diff)
vm_push_frame: move assignments around
Struct assignment using a compound literal is more readable than before, to me at least. It seems compilers reorder assignments anyways. Neither speedup nor slowdown is observed on my machine.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3296
Diffstat (limited to 'spec/ruby/core/kernel/method_spec.rb')
0 files changed, 0 insertions, 0 deletions