diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-02 19:03:14 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-01-02 19:03:14 -0700 |
| commit | 974c008a0ee0e0d7933e37d5ea930f712d494f6a (patch) | |
| tree | c12b14dceebe7f6055fe07cfed2780d2b5c7bf60 /src/liveness.zig | |
| parent | 5b981b1be7b387a3f51d60b8642064e6642b956c (diff) | |
| download | zig-974c008a0ee0e0d7933e37d5ea930f712d494f6a.tar.gz zig-974c008a0ee0e0d7933e37d5ea930f712d494f6a.zip | |
convert more {} to {d} and {s}
Diffstat (limited to 'src/liveness.zig')
| -rw-r--r-- | src/liveness.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liveness.zig b/src/liveness.zig index 0d759f8312..b0aafa28f1 100644 --- a/src/liveness.zig +++ b/src/liveness.zig @@ -1,6 +1,7 @@ const std = @import("std"); const ir = @import("ir.zig"); const trace = @import("tracy.zig").trace; +const log = std.log.scoped(.liveness); /// Perform Liveness Analysis over the `Body`. Each `Inst` will have its `deaths` field populated. pub fn analyze( @@ -248,5 +249,5 @@ fn analyzeInst( @panic("Handle liveness analysis for instructions with many parameters"); } - std.log.scoped(.liveness).debug("analyze {}: 0b{b}\n", .{ base.tag, base.deaths }); + log.debug("analyze {}: 0b{b}\n", .{ base.tag, base.deaths }); } |
