mirror of
https://github.com/ziglang/zig.git
synced 2026-01-03 03:53:20 +00:00
AstGen: remove calls to tracy
This commit is contained in:
parent
8b10970836
commit
2b2c13926d
@ -13,7 +13,6 @@ const StringIndexContext = std.hash_map.StringIndexContext;
|
||||
const isPrimitive = std.zig.primitives.isPrimitive;
|
||||
|
||||
const Zir = @import("Zir.zig");
|
||||
const trace = @import("tracy.zig").trace;
|
||||
const BuiltinFn = @import("BuiltinFn.zig");
|
||||
const AstRlAnnotate = @import("AstRlAnnotate.zig");
|
||||
|
||||
@ -2265,9 +2264,6 @@ fn blockExpr(
|
||||
block_node: Ast.Node.Index,
|
||||
statements: []const Ast.Node.Index,
|
||||
) InnerError!Zir.Inst.Ref {
|
||||
const tracy = trace(@src());
|
||||
defer tracy.end();
|
||||
|
||||
const astgen = gz.astgen;
|
||||
const tree = astgen.tree;
|
||||
const main_tokens = tree.nodes.items(.main_token);
|
||||
@ -2349,9 +2345,6 @@ fn labeledBlockExpr(
|
||||
statements: []const Ast.Node.Index,
|
||||
force_comptime: bool,
|
||||
) InnerError!Zir.Inst.Ref {
|
||||
const tracy = trace(@src());
|
||||
defer tracy.end();
|
||||
|
||||
const astgen = gz.astgen;
|
||||
const tree = astgen.tree;
|
||||
const main_tokens = tree.nodes.items(.main_token);
|
||||
@ -7473,9 +7466,6 @@ fn identifier(
|
||||
ri: ResultInfo,
|
||||
ident: Ast.Node.Index,
|
||||
) InnerError!Zir.Inst.Ref {
|
||||
const tracy = trace(@src());
|
||||
defer tracy.end();
|
||||
|
||||
const astgen = gz.astgen;
|
||||
const tree = astgen.tree;
|
||||
const main_tokens = tree.nodes.items(.main_token);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user