summaryrefslogtreecommitdiffhomepage
path: root/doc/opcode.md
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-10-08 12:09:05 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-10-08 12:09:05 +0900
commitfd6d911b5382283ae375e6ae6256543070469a26 (patch)
treeea4422fa718c08441619f60ccf06c034061c04cb /doc/opcode.md
parent7018286453f7d0ba3c6bb0719ef88f0449fbfbce (diff)
downloadmruby-fd6d911b5382283ae375e6ae6256543070469a26.tar.gz
mruby-fd6d911b5382283ae375e6ae6256543070469a26.zip
codegen.c: peephole optimize `OP_MOVE` after `OP_ARRAY` or `OP_HASH`.
When the length operand is zero, we don't need `OP_MOVE` but adjust the destination operand instead.
Diffstat (limited to 'doc/opcode.md')
0 files changed, 0 insertions, 0 deletions