remove std.debug.warn debugging logs

This commit is contained in:
Andrew Kelley
2020-06-17 04:38:15 -04:00
parent 7e58c56ca7
commit 02f688d710
2 changed files with 7 additions and 7 deletions

View File

@@ -1743,13 +1743,13 @@ fn analyzeFnBody(self: *Module, decl: *Decl, func: *Fn) !void {
const fn_zir = func.analysis.queued;
defer fn_zir.arena.promote(self.allocator).deinit();
func.analysis = .{ .in_progress = {} };
std.debug.warn("set {} to in_progress\n", .{decl.name});
//std.debug.warn("set {} to in_progress\n", .{decl.name});
try self.analyzeBody(&inner_block.base, fn_zir.body);
const instructions = try arena.allocator.dupe(*Inst, inner_block.instructions.items);
func.analysis = .{ .success = .{ .instructions = instructions } };
std.debug.warn("set {} to success\n", .{decl.name});
//std.debug.warn("set {} to success\n", .{decl.name});
}
fn reAnalyzeDecl(self: *Module, decl: *Decl, old_inst: *zir.Inst) InnerError!void {