• Yang Guo's avatar
    [snapshot] add kProduceExhaustiveCodeCache option. · 7f9de3dc
    Yang Guo authored
    - Add kProduceExhaustiveCodeCache to v8::ScriptCompiler::CompileOptions
      to request eager compilation to add as much as possible to the code
      cache for the script.
    - Repurpose ParseInfo::kLazy flag.
    - Remove ParseInfo::kDebug flag.
    - Remove --serialize-toplevel as it has become obsolete.
    
    R=marja@chromium.org
    
    Bug: chromium:768705
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
    Change-Id: Ife14f7a1d1c02e525f0b9dbfd2452013d67c7167
    Reviewed-on: https://chromium-review.googlesource.com/684019
    Commit-Queue: Yang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48160}
    7f9de3dc
api.cc 395 KB