Description[compiler] Make Compiler::EnsureBytecode not switch tiers.
This preserves the original shared code of the underlying function when
bytecode is provided. The method in question should only ensure bytecode
is present, but should avoid switching compilation tiers of the given
function. It might be that the function was fast-tracked to baseline by
inlining without going through the interpreted tier first.
R=rmcilroy@chromium.org
TEST=mjsunit/regress/regress-crbug-635923
BUG=chromium:635923
Committed: https://crrev.com/b52aecac7e1f05ec3a23c9732ae936a6e50252fc
Cr-Commit-Position: refs/heads/master@{#38866}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed comments. #
Messages
Total messages: 17 (11 generated)
|