authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-11-24 17:04:03-08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-11-24 17:04:03-08:00
log2b2c13926de2702db939c005d8aaa6f9656af626
treebf96f2a84fc7ce38879797571099e158d8832cb3
parent8b10970836480a43a3bbb1276cb258c2a8b613f2

AstGen: remove calls to tracy


1 files changed, 0 insertions(+), 10 deletions(-)

src/AstGen.zig-10
......@@ -13,7 +13,6 @@ const StringIndexContext = std.hash_map.StringIndexContext;
1313const isPrimitive = std.zig.primitives.isPrimitive;
1414
1515const Zir = @import("Zir.zig");
16const trace = @import("tracy.zig").trace;
1716const BuiltinFn = @import("BuiltinFn.zig");
1817const AstRlAnnotate = @import("AstRlAnnotate.zig");
1918
......@@ -2265,9 +2264,6 @@ fn blockExpr(
22652264 block_node: Ast.Node.Index,
22662265 statements: []const Ast.Node.Index,
22672266) InnerError!Zir.Inst.Ref {
2268 const tracy = trace(@src());
2269 defer tracy.end();
2270
22712267 const astgen = gz.astgen;
22722268 const tree = astgen.tree;
22732269 const main_tokens = tree.nodes.items(.main_token);
......@@ -2349,9 +2345,6 @@ fn labeledBlockExpr(
23492345 statements: []const Ast.Node.Index,
23502346 force_comptime: bool,
23512347) InnerError!Zir.Inst.Ref {
2352 const tracy = trace(@src());
2353 defer tracy.end();
2354
23552348 const astgen = gz.astgen;
23562349 const tree = astgen.tree;
23572350 const main_tokens = tree.nodes.items(.main_token);
......@@ -7473,9 +7466,6 @@ fn identifier(
74737466 ri: ResultInfo,
74747467 ident: Ast.Node.Index,
74757468) InnerError!Zir.Inst.Ref {
7476 const tracy = trace(@src());
7477 defer tracy.end();
7478
74797469 const astgen = gz.astgen;
74807470 const tree = astgen.tree;
74817471 const main_tokens = tree.nodes.items(.main_token);