mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
codegen: rename GenerateSymbolError to CodeGenError
This commit is contained in:
parent
d23472747e
commit
dc709fbf48
@ -1162,7 +1162,7 @@ pub fn generate(
|
||||
liveness: Liveness,
|
||||
code: *std.ArrayList(u8),
|
||||
debug_output: codegen.DebugInfoOutput,
|
||||
) codegen.GenerateSymbolError!codegen.Result {
|
||||
) codegen.CodeGenError!codegen.Result {
|
||||
_ = src_loc;
|
||||
var code_gen: CodeGen = .{
|
||||
.gpa = bin_file.allocator,
|
||||
|
||||
@ -35,8 +35,6 @@ pub const CodeGenError = error{
|
||||
CodegenFail,
|
||||
};
|
||||
|
||||
pub const GenerateSymbolError = CodeGenError;
|
||||
|
||||
pub const DebugInfoOutput = union(enum) {
|
||||
dwarf: *link.File.Dwarf.DeclState,
|
||||
/// the plan9 debuginfo output is a bytecode with 4 opcodes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user