• yangguo's avatar
    [perf-prof] fix crash when logging. · 75f52005
    yangguo authored
    Logging for --perf-prof is not GC safe. Now, we are going to
    emit source position info for optimized code when we are
    profiling, logging, or debugging, and under the same condition,
    pre-compute the line ends array for line number computation.
    
    R=tebbi@chromium.org
    BUG=v8:5730
    
    Review-Url: https://codereview.chromium.org/2562973002
    Cr-Commit-Position: refs/heads/master@{#41619}
    75f52005
compilation-info.cc 8.06 KB