1. 27 May, 2020 1 commit
  2. 26 May, 2020 34 commits
  3. 25 May, 2020 5 commits
    • Shu-yu Guo's avatar
      [class] Fix parenthesized calls of optional chains containing private fields · 2685658c
      Shu-yu Guo authored
      Bug: v8:10552
      Change-Id: I1160ff0f9d2c91bb3c2ad3e0d5e1f36953538420
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2211402Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Commit-Queue: Shu-yu Guo <syg@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67959}
      2685658c
    • Clemens Backes's avatar
      [wasm][interpreter] Remove breakpoint support · 843a1f45
      Clemens Backes authored
      The interpreter is not used for debugging any more. Hence any breakpoint
      support and related functionality is dead code.
      
      This CL removes
      - the {SetBreakpoint} and {GetBreakpoint} methods,
      - the {break_pc_} field which holds the current pause position,
      - the {break_flags_} field which is used to break at function entry and
        after calls,
      - functions to modify {break_flags_},
      - the dead {kInternalBreakpoint} and {kInvalidPc} constants (plus
        respective macros and enums),
      - the {orig_start} and {orig_end} fields (code is not being modified any
        more, so we just use {start} and {end} now),
      - the {PrepareStepIn} method,
      - the unimplemented {SetTracing} method, and
      - two tests that test breakpoints in the interpreter.
      
      R=thibaudm@chromium.org
      
      Bug: v8:10389
      Change-Id: I52103c37516446e40d3dfa365d6b480a7c623577
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2215163
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67958}
      843a1f45
    • Clemens Backes's avatar
      [wasm][debug] Avoid repeated recompilation · 447d7d67
      Clemens Backes authored
      If multiple isolates share the same module, and the debugger gets
      enabled, then we trigger tier down in each isolate separately. To avoid
      generating too much code, we only recompile functions that are not
      already in the right tier.
      
      This CL is only the first step towards an actual fix. Since we only
      check already installed code (and ignore compilations that are already
      scheduled), we might still compile the same functions multiple times. A
      second CL will make sure that only one recompilation is running at the
      same time.
      
      R=thibaudm@chromium.org
      
      Bug: chromium:1084369, v8:10359
      Change-Id: Ic4f9afac1add0fe8ad9e5d68f22d3d41ba2e52be
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2213438Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
      Commit-Queue: Clemens Backes <clemensb@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67957}
      447d7d67
    • Jakob Gruber's avatar
      [nci] Add Unary/Binary/Compare builtins with feedback · a0e7456d
      Jakob Gruber authored
      This CL adds the new _WithFeedback variant of unary, binary, and
      compare operation builtins. Existing logic to do these operations is
      refactored s.t. it can be used by both ignition bytecode handlers and
      the new builtins.
      
      Note that the new builtins are not yet used. Follow-up CLs will hook
      them into generic lowering.
      
      Bug: v8:8888
      Change-Id: Id77dbe74bdf3b3806b2aefdf1abe52c3d165a3a3
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2208862
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67956}
      a0e7456d
    • Andreas Haas's avatar
      [wasm] Introduce the SyncStreamingDecoder · d4bb8208
      Andreas Haas authored
      This CL introduces the SyncStreamingDecoder to support
      streaming compilation when --single-threaded is set. The
      SyncStreamingDecoder buffers all bytes it receives over
      {OnBytesReceived}, and compiles them synchronously upon {Finish}.
      
      In addition to introducing SyncStreamingDecoder, this CL does
      the following changes:
      * Redirect streaming compilation to the new streaming decoder if
        --no-wasm-async-compilation is set. This flag is set if
        --single-threaded is set.
      * Extend the test-streaming-compilation.cc tests to test also the new
        streaming decoder.
      
      R=thibaudm@chromium.org
      
      Bug: v8:10548
      Change-Id: I807e291a6060067c9835de4adf82bcb00321d995
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2209053
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#67955}
      d4bb8208