1. 17 Jan, 2019 32 commits
  2. 16 Jan, 2019 8 commits
    • Alexei Filippov's avatar
      [inspector] An Error with no stack description should not be empty · defbef78
      Alexei Filippov authored
      Make the description return the class name as it used to be.
      
      BUG=chromium:919292
      
      Change-Id: Idbc07643f15014a39a08a545a5003be891d95bd3
      Reviewed-on: https://chromium-review.googlesource.com/c/1416318Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58867}
      defbef78
    • tzik's avatar
      Merge MicrotaskQueue::RunMicrotasks and Isolate::RunMicrotasks · ba363c75
      tzik authored
      This retires Isolate::RunMicrotasks in favor of using
      MicrotaskQueue::RunMicrotasks.
      
      Bug: v8:8124
      Change-Id: I717dabce7c4127d7e4524bdb639f46c3d55df49b
      Reviewed-on: https://chromium-review.googlesource.com/c/1385969Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58866}
      ba363c75
    • Junliang Yan's avatar
      PPC/s390: [assembler] Allow to pass custom buffer implementations · 943b5d02
      Junliang Yan authored
      Port 1a3aab51
      
      Original Commit Message:
      
          When generating an Assembler, you currently have two choices: Either
          let the Assembler allocate a growable internal buffer, which is owned
          by the Assembler. Or provide an externally allocated buffer, which
          cannot grow.
          This CL changes this interface to allow providing any implementation of
          a buffer. The provided buffer can be a view to an externally owned
          buffer, which still can grow.
          This will be used to split WebAssembly compilation and code submission.
          The buffer needs to be able to grow, but cannot be owned by the
          Assembler because it has to survive until the code is submitted.
      
      R=clemensh@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: Id9383db813b13ea1d9eab485724aeb55b08cdfee
      Reviewed-on: https://chromium-review.googlesource.com/c/1416310Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#58865}
      943b5d02
    • Sergiy Belozorov's avatar
      [tools] Whitespace CL · 9378c6d1
      Sergiy Belozorov authored
      TBR=sergiyb@chromium.org
      
      No-Try: true
      Bug: chromium:616879
      Change-Id: I301af0a07f29c32c1ade23a7858455aa2632a847
      Reviewed-on: https://chromium-review.googlesource.com/c/1407083
      Commit-Queue: Sergiy Belozorov <sergiyb@chromium.org>
      Reviewed-by: 's avatarSergiy Belozorov <sergiyb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58864}
      9378c6d1
    • Sven Sauleau's avatar
      [wasm] fix js-api global/value-get-set · e6573624
      Sven Sauleau authored
      Fix WebAssembly's global/value-get-set. The argument must not be
      undefined.
      
      mjsunit tests were updated.
      
      Bug: v8:8319
      Change-Id: Id3d3c9b18cbc8854e589481dfc7c52f35cfb7bf7
      Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
      Reviewed-on: https://chromium-review.googlesource.com/c/1411886Reviewed-by: 's avatarBen Smith <binji@chromium.org>
      Commit-Queue: Sven Sauleau <ssauleau@igalia.com>
      Cr-Commit-Position: refs/heads/master@{#58863}
      e6573624
    • Clemens Hammacher's avatar
      [cleanup] Clean up base::EnumSet · 4064757c
      Clemens Hammacher authored
      After moving to its own header, this CL cleans up some parts of the
      interface. It fixes names and const-declarations of simple accessors,
      and adds a named constructor to make it explicit that an EnumSet should
      be constructed from an integral value.
      Also refactor the use in cctest.h to have less statically declared
      constants. Instead, just create the set of extensions in the individual
      tests.
      
      R=titzer@chromium.org
      
      Bug: v8:8562
      Change-Id: I6178d1aba25afa1d7f54c29ccf81505c165e7cd3
      Reviewed-on: https://chromium-review.googlesource.com/c/1409366
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58862}
      4064757c
    • Johannes Henkel's avatar
      [DevTools] Roll inspector_protocol to fdbdb154336fc1f15a0a6775349dd90243b8d3fc. · 7b0038ef
      Johannes Henkel authored
      This should be a non-event, I'm just rolling it to line it up
      with https://chromium.googlesource.com/deps/inspector_protocol/
      again.
      
      Change-Id: I84b0af31963bceb66084a579519412d47c3bbd40
      Reviewed-on: https://chromium-review.googlesource.com/c/1413409Reviewed-by: 's avatarDmitry Gozman <dgozman@chromium.org>
      Commit-Queue: Johannes Henkel <johannes@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58861}
      7b0038ef
    • Daniel Clifford's avatar
      [torque] Implement methods and constructors for structs and classes · b615dfa5
      Daniel Clifford authored
      With the changes in this patch,	it is now possible to add methods to
      both Torque's class and struct types. As a special case, "constructor"
      methods are used to initialize the values of classes and structs when
      they are constructed.
      
      The functionality in this patch	includes:
      
      - The refactoring of class- and struct-handling code to share field
        and method declaration code between both.
      
      - Addition of the "%Allocate" intrinsic that allocates raw bytes to be
        allocated from the V8 GC's NewSpace heap as the basis for freshly
        created, initialized class objects.
      
      - An implementation of a CallMethodExpression AST node that enables
        calling methods and constructors, including special handling of
        passing through the "this" pointer for method calls on structs by
        reference. The syntax for struct construction using "{}" remains as
        before, but now calls the struct's matching constructor rather than
        implicitly initializing the struct fields with the initialization
        arguments. A new syntax for allocation classes is introduced: "new
        ClassName{constructor_param1, constructor_param1, ...}", which
        de-sugars to an %Allocate call followed by a call to the matching
        constructor.
      
      - class	constructors can use the "super" keyword to initialize	their
        super class.
      
      - If classes and struct do not have a constructor, Torque creates a
        default constructor for them based on their field declarations,
        where each field's initial value is assigned to a same-typed
        parameter to the the default constructor. The default constructor's
        parameters are in field-declaration order, and for derived classes,
        the default constructor automatically uses a "super" initialization
        call to initialize inherited fields.
      
      - Class field declarations now automatically create ".field" and
        ".field=" operators that create CSA-compatible object accessors.
      
      - Addition of a no-argument constructor for JSArrays that creates an
        empty, PACKED_SMI_ELEMENTS JSArray using the machinery added
        elsewhere in this patch.
      
      Bug: v8:7793
      Change-Id: I31ce5f4b444656ab999555d780aeeba605666bfa
      Reviewed-on: https://chromium-review.googlesource.com/c/1392192
      Commit-Queue: Daniel Clifford <danno@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#58860}
      b615dfa5