| author | |
| committer | |
| log | dc709fbf48798ae74d5c7763cf99dffeb8143795 |
| tree | 8c53074ded2ecb728e01c9570b19181416ec6fa6 |
| parent | d23472747eb288e4c2332e03f6185c69e864f67d |
2 files changed, 1 insertions(+), 3 deletions(-)
src/arch/wasm/CodeGen.zig+1-1| ... | @@ -1162,7 +1162,7 @@ pub fn generate( | ... | @@ -1162,7 +1162,7 @@ pub fn generate( |
| 1162 | liveness: Liveness, | 1162 | liveness: Liveness, |
| 1163 | code: *std.ArrayList(u8), | 1163 | code: *std.ArrayList(u8), |
| 1164 | debug_output: codegen.DebugInfoOutput, | 1164 | debug_output: codegen.DebugInfoOutput, |
| 1165 | ) codegen.GenerateSymbolError!codegen.Result { | 1165 | ) codegen.CodeGenError!codegen.Result { |
| 1166 | _ = src_loc; | 1166 | _ = src_loc; |
| 1167 | var code_gen: CodeGen = .{ | 1167 | var code_gen: CodeGen = .{ |
| 1168 | .gpa = bin_file.allocator, | 1168 | .gpa = bin_file.allocator, |
src/codegen.zig-2| ... | @@ -35,8 +35,6 @@ pub const CodeGenError = error{ | ... | @@ -35,8 +35,6 @@ pub const CodeGenError = error{ |
| 35 | CodegenFail, | 35 | CodegenFail, |
| 36 | }; | 36 | }; |
| 37 | 37 | ||
| 38 | pub const GenerateSymbolError = CodeGenError; | ||
| 39 | |||
| 40 | pub const DebugInfoOutput = union(enum) { | 38 | pub const DebugInfoOutput = union(enum) { |
| 41 | dwarf: *link.File.Dwarf.DeclState, | 39 | dwarf: *link.File.Dwarf.DeclState, |
| 42 | /// the plan9 debuginfo output is a bytecode with 4 opcodes | 40 | /// the plan9 debuginfo output is a bytecode with 4 opcodes |