1. 19 Jan, 2021 36 commits
  2. 18 Jan, 2021 4 commits
    • Junliang Yan's avatar
      s390x: Create LE version of Load · 7d112848
      Junliang Yan authored
      Change-Id: I4bb964bee86248b7990e69ac458431c2a489bcd8
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2633730Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
      Commit-Queue: Junliang Yan <junyan@redhat.com>
      Cr-Commit-Position: refs/heads/master@{#72141}
      7d112848
    • Dan Elphick's avatar
      [build] Add header for externally-visible defines · 553def5f
      Dan Elphick authored
      Adds a v8-gn.h file containing defines that are used in the
      externally-visible headers files like v8.h. This must be included by
      include/v8config.h which includes it if the GN flag
      v8_generate_external_defines_header is on. (Currently off by default).
      
      To enable the v8config.h file to be included without the other v8
      headers (as required by cppgc), this moves it into its own header set
      which sets up the include path correctly.
      
      Also updates some headers to ensure v8config.h is included before using
      externally-visible defines.
      
      Bug: v8:11292
      Change-Id: I5be634f4adfbef144bf684071461d64f1cb30899
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2608212
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#72140}
      553def5f
    • Andreas Haas's avatar
      [wasm][liftoff] Fix index in the initialization of locals · 18534a42
      Andreas Haas authored
      There was a bug that only the last local with a reference type got
      initialized to null, all other locals kept the initial value of 0. This
      CL fixes this bug.
      
      Additionally this CL optimizes the code slightly. Before this CL, the
      null reference was loaded from the instance for every local with
      reference type. Now the null reference is cached after the first load
      and then used for all other locals.
      
      R=thibaudm@chromium.org
      
      Bug: chromium:1167587
      Change-Id: Ic11fc76b650e6daa029491154744fc132778f70d
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2632695
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#72139}
      18534a42
    • Seth Brenith's avatar
      [heap-profiler][torque] Report types of all internal objects · e3f8b5db
      Seth Brenith authored
      Heap-profiler changes:
      
      Currently, a whole lot of types are all reported as just "system" in
      heap snapshots. With this change, we can use Torque-generated macro
      lists to easily report type names such as "system / BytecodeArray".
      Those objects still show up in a single category named "(system)" in the
      dev tools UI, so they don't clutter the output. For V8 developers or
      anybody who is interested in an extra-detailed view, this change also
      includes a runtime flag that instructs V8 to upgrade nodes of type
      kHidden to type kNative. After a snapshot is collected with this flag
      enabled, the dev tools UI then shows each internal object type
      separately.
      
      Torque changes:
      
      Currently, Torque emits several macro lists containing pairs of
      (ClassName, CLASS_NAME_TYPE) which can be used to associate instance
      types with Torque class names. However, some Torque classes are not
      included in any of these three lists. In cases like the heap profiler,
      it would be nice to easily generate a complete list including every
      instance type, so this CL includes two changes:
      
      - Include classes in TORQUE_INSTANCE_CHECKERS_MULTIPLE_FULLY_DEFINED
        even if they're not marked `extern`. I'm not sure what exactly we
        were hoping to accomplish in filtering by extern-ness, but it's
        simpler not to and slightly reduces clutter in a couple of files that
        use that macro list.
      - Add a fourth macro list for the previously-ignored category: classes
        which have their own instance type (are not `abstract`), and have
        subtypes, but do not have their fields defined in Torque. This list
        contains just a single item (HashTable), but I like the consistency of
        generating the full set of lists.
      
      Change-Id: Ib24953e12ed13ce353206bbec23a52d8f684dfcc
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2610172
      Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
      Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
      Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#72138}
      e3f8b5db