diff options
| author | Pavel Verigo <paul.verigo@gmail.com> | 2024-07-05 20:25:39 +0200 |
|---|---|---|
| committer | Pavel Verigo <paul.verigo@gmail.com> | 2024-07-18 00:57:45 +0200 |
| commit | 31706dc31acdc875899ca18cf92a2fccb3a2f0c7 (patch) | |
| tree | 6ef1e3268f32dded4c1af4c356a370986842a3f0 /lib/std/Thread/Futex.zig | |
| parent | 6eb76f930defb86d09469f73196b374c90f7f8a5 (diff) | |
| download | zig-31706dc31acdc875899ca18cf92a2fccb3a2f0c7.tar.gz zig-31706dc31acdc875899ca18cf92a2fccb3a2f0c7.zip | |
stage2-wasm: finishAir handle .stack result
By allowing finishAir to handle .stack results, we simplify a lot of code in
air*** functions, which try to handle this case. Also this changes will result in optimization, if one of operands is dead after instruction its place could be reused by result.
The only downside to this change is that finishAir now can return error, though it handled by returning finishAir result, because it always needs to be final in air*** functions.
Additionally I migrated WValue{ to .{ inside CodeGen.zig.
Diffstat (limited to 'lib/std/Thread/Futex.zig')
0 files changed, 0 insertions, 0 deletions
