• Nico Hartmann's avatar
    [Torque] Minimize #includes in torque-generated files (1) · d715a98a
    Nico Hartmann authored
    This is the 1st CL in a series of CLs with the goal to significantly
    reduce the number of includes in torque-generated files to reduce
    the build time of Torque's output.
    
    So far, all torque-generated builtins included all (197) other builtins
    generated by Torque. This CL adds tracking of definition locations to
    Torque's ImplementationVisitor that enables it to only include those
    builtins that are actually needed for compilation. This change reduces
    the number of includes for the majority of builtins by 150-180 files.
    
    Bug: v8:11528
    
    Change-Id: Id6f6dd60c9c0f197d14998e580f0fa5fbd60f194
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2876859Reviewed-by: 's avatarSeth Brenith <seth.brenith@microsoft.com>
    Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#74443}
    d715a98a
global-context.h 5.03 KB