[Builtins] Check for SFI being compiled first in CompileLazy.
Swaps around the checks in CompileLazy to ensure we always enter the runtime to lazy compile if a function's SFI is uncompiled. This is necessary with bytecode flushing since the function may have an optimized code marker in the feedback vector, even if the bytecode has been flushed, and we don't want to try to optimize this flushed function. BUG=v8:8395 Change-Id: I7a348c40146673ba4a8f5e14d06995bbcc141695 Reviewed-on: https://chromium-review.googlesource.com/c/1352277 Commit-Queue: Ross McIlroy <rmcilroy@chromium.org> Reviewed-by: Mythri Alle <mythria@chromium.org> Cr-Commit-Position: refs/heads/master@{#57929}
Showing
Please
register
or
sign in
to comment