• Mythri's avatar
    Add new options to CompileOptions and NoCacheReason · c5eb79e6
    Mythri authored
    Now that we have an API to request code cache, we want to decouple
    compilation from serialization. As a first step, we will add CompileEager
    option (used when we want to produce full code cache) and
    DeferredProduceCodeOption to NoCacheReason. This is so that we can
    properly bucket the compilation time and collect statistics about the
    cache behaviour. Once, blink and node start using the new API, we can
    remove the code to produce code cache from the compilation.
    
    Bug: chromium:783124
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: I35dbb6b0af39940450d412ff75b769603398b2f6
    Reviewed-on: https://chromium-review.googlesource.com/828977
    Commit-Queue: Mythri Alle <mythria@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50336}
    c5eb79e6
compiler.cc 70.9 KB