• loislo's avatar
    CpuProfiler: do not calculate positions if it is not necessary (TryInline part). · cbda41c8
    loislo authored
    TryInline needed position only for the case when we track positions.
    We can drop the position argument and use the current position from GraphBuilder.
    The only problem that it doesn't match with the inline point.
    The reason of that was the fact that builder had moved the position forward by
    visiting arguments expressions.
    
    I fixed this by restoring the current positon in HOptimizedGraphBuilderWithPositions::Visit*
    
    BUG=452067
    LOG=n
    
    Review URL: https://codereview.chromium.org/962593005
    
    Cr-Commit-Position: refs/heads/master@{#26953}
    cbda41c8
hydrogen.h 99.7 KB