• Marja Hölttä's avatar
    [iwyu] Include heap-inl.h less. · 0453d418
    Marja Hölttä authored
    - Remove heap-inl.h includes from places where it looked unnecessary. (This is a
      non-scientific approach, because it's probably pulled in indirectly anyway.)
    
    - Annotate places which include heap-inl.h because they need heap/ internals.
    
    - ACCESSORS legitimately needs heap-inl.h because of Heap::FromWritableHeapObject.
    
    - Add includes to heap/heap-write-barrier(-inl).h
    
    - A bunch of IWYU fixes discovered when working on this CL (includes which were
      missing because heap-inl.h pulls them in indirectly).
    
    BUG=v8:7490,v8:8238,v8:8499
    
    Change-Id: I00f9a74d430f13d7c080dca77a92b03bcca7ef96
    Reviewed-on: https://chromium-review.googlesource.com/c/1349241Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Marja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57814}
    0453d418
scavenge-job.cc 4.08 KB