• Jakob Gruber's avatar
    [compiler] Ensure the function is compiled after CompileOptimized · ad522951
    Jakob Gruber authored
    The Code object returned by CompileOptimized runtime functions is
    tail-called to continue execution. This Code object should not be the
    CompileLazy builtin.
    
    We ran into this case when the requested code kind was available, but
    not attached - here we returned early from Compiler::CompileOptimized
    without doing anything.
    
    To satisfy the postcondition, this CL removes the early exit and lets
    GetOptimizedCode handle the cached cases (both the FeedbackVector's
    optimized code cache, and the isolate cache).
    
    Bug: v8:8888
    Change-Id: Ie60e6cf27b697ea6685441184b65f28f3583f75a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2557500Reviewed-by: 's avatarMythri Alle <mythria@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71358}
    ad522951
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime-weak-refs.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...