| ... | @@ -5,7 +5,6 @@ | ... | @@ -5,7 +5,6 @@ |
| 5 | // and substantial portions of the software. | 5 | // and substantial portions of the software. |
| 6 | usingnamespace std.os; | 6 | usingnamespace std.os; |
| 7 | const std = @import("../../std.zig"); | 7 | const std = @import("../../std.zig"); |
| 8 | const builtin = @import("builtin"); | | |
| 9 | const expectEqual = std.testing.expectEqual; | 8 | const expectEqual = std.testing.expectEqual; |
| 10 | | 9 | |
| 11 | // instruction classes | 10 | // instruction classes |
| ... | @@ -631,7 +630,7 @@ pub const Insn = packed struct { | ... | @@ -631,7 +630,7 @@ pub const Insn = packed struct { |
| 631 | }; | 630 | }; |
| 632 | } | 631 | } |
| 633 | | 632 | |
| 634 | fn endian_swap(endian: builtin.Endian, comptime size: Size, dst: Reg) Insn { | 633 | fn endian_swap(endian: std.builtin.Endian, comptime size: Size, dst: Reg) Insn { |
| 635 | return Insn{ | 634 | return Insn{ |
| 636 | .code = switch (endian) { | 635 | .code = switch (endian) { |
| 637 | .Big => 0xdc, | 636 | .Big => 0xdc, |