• Tobias Tebbi's avatar
    [torque] improve GC visitors · f1400e43
    Tobias Tebbi authored
    Summary of changes:
    
    - GC visitors no longer rely on superclass visitors, but instead visit
      everything themselves. This enables generating better code.
    - Try to match simple body descriptors to reduce the amount of generated
      code.
    - Turn SizeFor(instance) into an AllocatedSize() method.
    - Remove the special handling of resizable object sizes from Torque
      and instead overwrite AllocatedSize in classes that need special
      handling in C++.
    - Split the visitor id lists depending on whether the class has pointer
      fields.
    - Turn Torque-generated body descriptors into an .inc file to
      simplify includes.
    - Fix generated size functions to properly align the size.
    - Generate GC visitors (and C++ class definitions) for all string
      classes and FixedArray, WeakFixedArray, and WeakArrayList.
    - Store generated instance types in Torque class types. This is only
      used to determine if a type has a single instance type in this CL.
    
    Bug: v8:7793
    Change-Id: I4d362e96b047c305bd6d065247734957b8958c42
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2110014
    Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
    Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#67542}
    f1400e43
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
ast Loading commit data...
base Loading commit data...
builtins Loading commit data...
codegen Loading commit data...
common Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
d8 Loading commit data...
date Loading commit data...
debug Loading commit data...
deoptimizer Loading commit data...
diagnostics Loading commit data...
execution Loading commit data...
extensions Loading commit data...
flags Loading commit data...
handles Loading commit data...
heap Loading commit data...
ic Loading commit data...
init Loading commit data...
inspector Loading commit data...
interpreter Loading commit data...
json Loading commit data...
libplatform Loading commit data...
libsampler Loading commit data...
logging Loading commit data...
numbers Loading commit data...
objects Loading commit data...
parsing Loading commit data...
profiler Loading commit data...
protobuf Loading commit data...
regexp Loading commit data...
roots Loading commit data...
runtime Loading commit data...
sanitizer Loading commit data...
snapshot Loading commit data...
strings Loading commit data...
tasks Loading commit data...
third_party Loading commit data...
torque Loading commit data...
tracing Loading commit data...
trap-handler Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
DEPS Loading commit data...
OWNERS Loading commit data...