codegen: rename GenerateSymbolError to CodeGenError

This commit is contained in:
Jakub Konka 2023-03-03 18:56:57 +01:00
parent d23472747e
commit dc709fbf48
2 changed files with 1 additions and 3 deletions

View File

@ -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,

View File

@ -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