DescriptionMove TraceInlinedFunction from Hydrogen graph builder to internal::CodeGenerator.
This allows to share source dumping infrastructure between CS and TF and opens a possibility for external tools like IRHydra to perform deoptimization to source mapping for TF generated code based on --trace-deopt --print-opt-code --code-comments output.
This CL also restores an old TraceInlinedFunction behavior which was lost during source positions refactoring - originally TraceInlinedFunction dumped source code only once per-SFI to avoid large traces whenever some helper function is inlined multiple times.
This CL also adds --print-opt-source flag that would in the future replace obsolete --hydrogen-track-positions.
BUG=
Review-Url: https://codereview.chromium.org/2575703003
Cr-Commit-Position: refs/heads/master@{#41758}
Committed: https://chromium.googlesource.com/v8/v8/+/686d8c8685447c2b9e50b71106666b6d4e937871
Patch Set 1 #
Total comments: 3
Patch Set 2 : Address comments #
Messages
Total messages: 20 (10 generated)
|