summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-07-16 07:55:25 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-07-16 07:55:25 +0900
commit70f31d4bb4b251d13c959557552e1c285878f5f3 (patch)
tree93ba3ef3647c6b567f078a009a0cbfdccb006c5d /src/variable.c
parent1a3564f2f1fce239d7982cd5b3850bfff32222c0 (diff)
downloadmruby-70f31d4bb4b251d13c959557552e1c285878f5f3.tar.gz
mruby-70f31d4bb4b251d13c959557552e1c285878f5f3.zip
codegen.c: add new peephole optimization for `OP_MOVE`.
If `OP_MOVE` comes after `OP_GETUPVAR`, you can skip move and redirect the destination register of `OP_GETUPVAR`.
Diffstat (limited to 'src/variable.c')
0 files changed, 0 insertions, 0 deletions