diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-07-24 15:48:12 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-08-11 11:08:00 +0200 |
| commit | cc6f2b67c68ece7577e27e23846670d6566ad5f2 (patch) | |
| tree | db8feb8b61013657965d2de7a5383947434425fc /src/arch/arm/CodeGen.zig | |
| parent | 7e6dbd63989ed4f62b9d12fb03119b0bec1bda84 (diff) | |
| download | zig-cc6f2b67c68ece7577e27e23846670d6566ad5f2.tar.gz zig-cc6f2b67c68ece7577e27e23846670d6566ad5f2.zip | |
wasm: `binOp` leave value on stack
Rather than always creating a new local and storing the result of
a binary operation into said local, we now leave it on top of the stack.
This allows for better codegen as we need less instructions, as well
as less total amount of locals.
Diffstat (limited to 'src/arch/arm/CodeGen.zig')
0 files changed, 0 insertions, 0 deletions
