diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-16 07:55:25 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-07-16 07:55:25 +0900 |
| commit | 70f31d4bb4b251d13c959557552e1c285878f5f3 (patch) | |
| tree | 93ba3ef3647c6b567f078a009a0cbfdccb006c5d /src/debug.c | |
| parent | 1a3564f2f1fce239d7982cd5b3850bfff32222c0 (diff) | |
| download | mruby-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/debug.c')
0 files changed, 0 insertions, 0 deletions
