• vegorov's avatar
    Move TraceInlinedFunction from Hydrogen graph builder to internal::CodeGenerator. · 686d8c86
    vegorov authored
    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}
    686d8c86
hydrogen.h 101 KB