aboutsummaryrefslogtreecommitdiff
path: root/src/arch/arm/CodeGen.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-07-24 15:48:12 +0200
committerLuuk de Gram <luuk@degram.dev>2022-08-11 11:08:00 +0200
commitcc6f2b67c68ece7577e27e23846670d6566ad5f2 (patch)
treedb8feb8b61013657965d2de7a5383947434425fc /src/arch/arm/CodeGen.zig
parent7e6dbd63989ed4f62b9d12fb03119b0bec1bda84 (diff)
downloadzig-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