diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-05-22 09:57:43 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-22 09:57:43 -0700 |
| commit | 9be8a9000faead40b1aec4877506ff10b066659c (patch) | |
| tree | 6dd2ebc0520ed61c8221e04a01b4b2f715f5520c /src/arch/x86_64/CodeGen.zig | |
| parent | a7de02e05216db9a04e438703ddf1b6b12f3fbef (diff) | |
| download | zig-9be8a9000faead40b1aec4877506ff10b066659c.tar.gz zig-9be8a9000faead40b1aec4877506ff10b066659c.zip | |
Revert "implement `@expect` builtin (#19658)"
This reverts commit a7de02e05216db9a04e438703ddf1b6b12f3fbef.
This did not implement the accepted proposal, and I did not sign off
on the changes. I would like a chance to review this, please.
Diffstat (limited to 'src/arch/x86_64/CodeGen.zig')
| -rw-r--r-- | src/arch/x86_64/CodeGen.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/x86_64/CodeGen.zig b/src/arch/x86_64/CodeGen.zig index 4ecb39611f..cc6e014080 100644 --- a/src/arch/x86_64/CodeGen.zig +++ b/src/arch/x86_64/CodeGen.zig @@ -2014,8 +2014,6 @@ fn genBody(self: *Self, body: []const Air.Inst.Index) InnerError!void { .abs => try self.airAbs(inst), - .expect => unreachable, - .add_with_overflow => try self.airAddSubWithOverflow(inst), .sub_with_overflow => try self.airAddSubWithOverflow(inst), .mul_with_overflow => try self.airMulWithOverflow(inst), |
