1. 04 Oct, 2021 14 commits
  2. 02 Oct, 2021 2 commits
  3. 01 Oct, 2021 21 commits
  4. 30 Sep, 2021 3 commits
    • Milad Fa's avatar
      PPC/s390: [regexp] Fix stack growth for global regexps · 9227a8da
      Milad Fa authored
      Port 3e3a027d
      
      Original Commit Message:
      
          Irregexp reentrancy (crrev.com/c/3162604) introduced a bug for global
          regexp execution in which each iteration would use a new stack region
          (i.e. we forgot to pop the regexp stack pointer when starting a new
          iteration).
      
          This CL fixes that by popping the stack pointer on the loop backedge.
      
          At a high level:
      
          - Initialize the backtrack_stackpointer earlier and avoid clobbering
            it by setup code.
          - Pop it on the loop backedge.
          - Slightly refactor Push/Pop operations to avoid unneeded memory
            accesses.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
      BUG=
      LOG=N
      
      Change-Id: Iafe6814d3695e83fced6a46209accf5e712d56f6
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3198391Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
      Commit-Queue: Milad Fa <mfarazma@redhat.com>
      Cr-Commit-Position: refs/heads/main@{#77180}
      9227a8da
    • Milad Fa's avatar
      PPC/s390: [masm] Improve Instance Type Checks in Builtins::Call/Construct · 3cfb9308
      Milad Fa authored
      Port b9a6301e
      
      Original Commit Message:
      
          Load instance type into a register instead of using memory operands for
          several checks on ia32 and x64.
      
      R=pthier@chromium.org, joransiu@ca.ibm.com, junyan@redhat.com, midawson@redhat.com
      BUG=
      LOG=N
      
      Change-Id: I05ea2bd32ea2a2053b601323813c580d55094e46
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3198130Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
      Commit-Queue: Milad Fa <mfarazma@redhat.com>
      Cr-Commit-Position: refs/heads/main@{#77179}
      3cfb9308
    • Seth Brenith's avatar
      [torque] Make return types required · 25f0e329
      Seth Brenith authored
      Currently, it is possible to declare macros, builtins, etc., without
      specifying a return type, in which case the return type is treated as
      void. This is confusing; the code is more clear if we require the return
      type to be specified.
      
      Aside from src/torque, this change is almost entirely just adding
      `: void` until the compiler is happy. However, two intrinsics in
      src/builtins/torque-internal.tq have been corrected to declare an
      appropriate return type. Those two intrinsics were only used in code
      generated within the compiler after the type-checking phase, so we never
      noticed that their return types were declared incorrectly.
      
      Bug: v8:7793
      Change-Id: Ib7df88678c25393a9e3eba389a6a1c4d9233dcbb
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3176502
      Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarNico Hartmann <nicohartmann@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#77178}
      25f0e329