Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[textual] Improve generated ProcDesc.Node locations
Summary: This diff uses min instr line for node's loc. This makes node placement in a debug HTML a bit more predictable and relevant compared to using block labels' locations which can be more detached from the actual source code when we're dealing with translated sources (e.g. Hack->Textual). Note that a single node can still accumulate instructions from a large number of lines (e.g. a scope of 20 lines in the source file). Ideally, we'd improve the way we generate blocks (perhaps split blocks into more manageable chunks) to reduce the scope of each particular node. Reviewed By: geralt-encore Differential Revision: D46234875 fbshipit-source-id: a895c238b3db6f8c92fc5ab36756b2dfc64cbb82
- Loading branch information