Commit 7e3ecce
authored
Associate paths with nodes when tracing (#47530)
Walking up the tree to find the enclosing SourceFile would distort the
timing too much so, instead, we attach a Path in the binder.
At present, the path is determined retroactively by walking up the call
stack in the trace visualizer, but this is both inconvenient and
routinely inaccurate (checking an expression in one file may require
checking an expression in another file and there's no way to determine
from the trace where this transition occurred).1 parent bae0f50 commit 7e3ecce
3 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2408 | 2408 | | |
2409 | 2409 | | |
2410 | 2410 | | |
| 2411 | + | |
2411 | 2412 | | |
2412 | 2413 | | |
2413 | 2414 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34028 | 34028 | | |
34029 | 34029 | | |
34030 | 34030 | | |
34031 | | - | |
| 34031 | + | |
34032 | 34032 | | |
34033 | 34033 | | |
34034 | 34034 | | |
| |||
37104 | 37104 | | |
37105 | 37105 | | |
37106 | 37106 | | |
37107 | | - | |
| 37107 | + | |
37108 | 37108 | | |
37109 | 37109 | | |
37110 | 37110 | | |
| |||
40541 | 40541 | | |
40542 | 40542 | | |
40543 | 40543 | | |
40544 | | - | |
| 40544 | + | |
40545 | 40545 | | |
40546 | 40546 | | |
40547 | 40547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
344 | 348 | | |
0 commit comments