Fixing test issue in test-cpu-profiler/TickLinesOptimized.
The test was calling OptimizeFunctionOnNextCall on a function before ever executing it - crankshaft therefore didn't have any type info and was generating a soft deoptimization bailout. Make sure we execute the function before calling OptimizeFunctionOnNextCall to avoid this issue. BUG= Review-Url: https://codereview.chromium.org/2168603003 Cr-Commit-Position: refs/heads/master@{#38171}
Showing
Please
register
or
sign in
to comment