diff options
| author | Jacob G-W <jacoblevgw@gmail.com> | 2021-06-09 21:35:42 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-06-21 17:03:03 -0700 |
| commit | 641ecc260f43ffb2398acb80cbd141535dbbb03d (patch) | |
| tree | 87455d3b460f517ad35bcda2b3a2e38599dd4aa1 /src/codegen/wasm.zig | |
| parent | d34a1ccb0ea75ba31f374b8b2d34e18326b147b1 (diff) | |
| download | zig-641ecc260f43ffb2398acb80cbd141535dbbb03d.tar.gz zig-641ecc260f43ffb2398acb80cbd141535dbbb03d.zip | |
std, src, doc, test: remove unused variables
Diffstat (limited to 'src/codegen/wasm.zig')
| -rw-r--r-- | src/codegen/wasm.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/codegen/wasm.zig b/src/codegen/wasm.zig index d7fe239d3b..a830ca36e0 100644 --- a/src/codegen/wasm.zig +++ b/src/codegen/wasm.zig @@ -849,7 +849,6 @@ pub const Context = struct { } fn genCall(self: *Context, inst: *Inst.Call) InnerError!WValue { - const func_inst = inst.func.castTag(.constant).?; const func_val = inst.func.value().?; const target: *Decl = blk: { @@ -1146,8 +1145,6 @@ pub const Context = struct { } fn genCmp(self: *Context, inst: *Inst.BinOp, op: std.math.CompareOperator) InnerError!WValue { - const ty = inst.lhs.ty.tag(); - // save offset, so potential conditions can insert blocks in front of // the comparison that we can later jump back to const offset = self.code.items.len; |
