1. 19 Jun, 2018 3 commits
  2. 18 Jun, 2018 1 commit
  3. 14 Jun, 2018 2 commits
    • Clemens Hammacher's avatar
      Reland "Introduce StdoutStream which prints to Android log or stdout" · 8e2e1257
      Clemens Hammacher authored
      This is a reland of 0909dbe3.
      Added missing V8_EXPORT_PRIVATE to AndroidLogStream.
      
      TBR=mstarzinger@chromium.org
      
      Original change's description:
      > Introduce StdoutStream which prints to Android log or stdout
      >
      > The often used construct {OFStream(stdout)} does not work on Android.
      > This CL introduces an {StdoutStream} which behaves exactly like
      > {OFStream(stdout)} on non-android platforms, and redirects to the
      > Android log on appropriate systems and configurations.
      >
      > R=mstarzinger@chromium.org
      >
      > Bug: v8:7820
      > Change-Id: Ia682fdf6d064e37c605c19b032f5a10b96ac825b
      > Reviewed-on: https://chromium-review.googlesource.com/1088911
      > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#53692}
      
      Bug: v8:7820
      Change-Id: I8164bad78a401dbe4246c9ffcacd050fe511ed58
      Reviewed-on: https://chromium-review.googlesource.com/1100636Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53733}
      8e2e1257
    • Michael Achenbach's avatar
      Revert "Introduce StdoutStream which prints to Android log or stdout" · d2e1620c
      Michael Achenbach authored
      This reverts commit 0909dbe3.
      
      Reason for revert: Blocks roll:
      https://chromium-review.googlesource.com/c/chromium/src/+/1099143
      
      Original change's description:
      > Introduce StdoutStream which prints to Android log or stdout
      > 
      > The often used construct {OFStream(stdout)} does not work on Android.
      > This CL introduces an {StdoutStream} which behaves exactly like
      > {OFStream(stdout)} on non-android platforms, and redirects to the
      > Android log on appropriate systems and configurations.
      > 
      > R=​mstarzinger@chromium.org
      > 
      > Bug: v8:7820
      > Change-Id: Ia682fdf6d064e37c605c19b032f5a10b96ac825b
      > Reviewed-on: https://chromium-review.googlesource.com/1088911
      > Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#53692}
      
      TBR=mstarzinger@chromium.org,jarin@chromium.org,jgruber@chromium.org,clemensh@chromium.org,bmeurer@chromium.org
      
      Change-Id: Iadadd9a0df10dca0fad647138a83db50148e864d
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:7820
      Reviewed-on: https://chromium-review.googlesource.com/1100635Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53725}
      d2e1620c
  4. 13 Jun, 2018 5 commits
  5. 12 Jun, 2018 3 commits
  6. 11 Jun, 2018 2 commits
  7. 08 Jun, 2018 1 commit
  8. 07 Jun, 2018 3 commits
  9. 05 Jun, 2018 1 commit
    • Junliang Yan's avatar
      PPC/s390: [builtins] Move builtins table to the Heap class · 5e45a19d
      Junliang Yan authored
      Port e3e3480b
      
      Original Commit Message:
      
          The builtins table is an array of pointers to builtin code objects. It
          used to be located within the Builtins class, which itself was part of
          the Isolate.
      
          To enable faster isolate-independent access to builtin code objects,
          this CL moves the builtins table into the heap, at a constant known
          offset from the roots table. With this change, builtins can be accessed
          through the root pointer with a single instruction:
      
           mov reg, [kRootPointer, <offset to builtin>]
      
          TurboAssembler::LookupConstant is also extended in this CL to
          potentially shortcut the slow-ish constants table lookup: root
          constants are loaded through the root list, and builtin constants
          through the builtins table.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: I1dac4ad30960d50f77aba7ec7da63b1f1259613d
      Reviewed-on: https://chromium-review.googlesource.com/1087410Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#53532}
      5e45a19d
  10. 04 Jun, 2018 2 commits
  11. 01 Jun, 2018 1 commit
  12. 31 May, 2018 1 commit
    • Junliang Yan's avatar
      PPC/s390: [sfi] Compress function arg counts to 16 bit · 035dbdd9
      Junliang Yan authored
      Port 53d4dfc3
      
      Original Commit Message:
      
          Compress the parameter count (and function length) stored in
          SharedFunctionInfo to a uint16_t. This limits us to 2^16 - 1 parameters
          per function, minus one for the "don't adapt arguments" sentinel value,
          which is one fewer than Code::kMaxArguments was already. Anyway, 65534
          arguments should be enough for anyone!
      
          This drops SFI size by 4 bytes.
      
      R=leszeks@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: I23db04fd41ad577949cd8d45bab82c77019d9350
      Reviewed-on: https://chromium-review.googlesource.com/1081450Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#53464}
      035dbdd9
  13. 30 May, 2018 1 commit
  14. 29 May, 2018 4 commits
  15. 28 May, 2018 2 commits
  16. 26 May, 2018 1 commit
  17. 25 May, 2018 3 commits
  18. 18 May, 2018 1 commit
  19. 08 May, 2018 1 commit
    • Junliang Yan's avatar
      PPC/s390: [builtins] Convert CEntry/GetProperty/StringAdd stubs to builtins · 7ff35bd5
      Junliang Yan authored
      Port d8131cd6
      
      Original Commit Message:
      
          Stubs and builtins are very similar. The main differences are that
          stubs can be parameterized and may be generated at runtime, whereas
          builtins are generated at mksnapshot-time and shipped with the snapshot
          (or embedded into the binary).
      
          My main motivation for these conversions is that we can generate
          faster calls and jumps to (embedded) builtins callees from (embedded)
          builtin callers. Instead of going through the builtins constants table
          indirection, we can simply do a pc-relative call/jump.
      
          This also unlocks other refactorings, e.g. removal of
          CallRuntimeDelayed.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: I193e4275470d492912a7d0f8523c3b8c29f1b146
      Reviewed-on: https://chromium-review.googlesource.com/1050732
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#53081}
      7ff35bd5
  20. 07 May, 2018 1 commit
    • jgruber's avatar
      [builtins] Convert CEntry/GetProperty/StringAdd stubs to builtins · d8131cd6
      jgruber authored
      Stubs and builtins are very similar. The main differences are that
      stubs can be parameterized and may be generated at runtime, whereas
      builtins are generated at mksnapshot-time and shipped with the snapshot
      (or embedded into the binary).
      
      My main motivation for these conversions is that we can generate
      faster calls and jumps to (embedded) builtins callees from (embedded)
      builtin callers. Instead of going through the builtins constants table
      indirection, we can simply do a pc-relative call/jump.
      
      This also unlocks other refactorings, e.g. removal of
      CallRuntimeDelayed.
      
      TBR=mlippautz@chromium.org
      
      Bug: v8:6666
      Change-Id: I4cd63477f19a330ec70bbf20e2af8a42fb05fabb
      Reviewed-on: https://chromium-review.googlesource.com/1044245Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53027}
      d8131cd6
  21. 03 May, 2018 1 commit
    • Junliang Yan's avatar
      PPC/s390: [builtins] Update isolate-independent list & related fixups · 2489567d
      Junliang Yan authored
      Port 519bd47f
      
      Original Commit Message:
      
          With the exception of the InterpreterEntryTrampoline, all builtins are
          now isolate-independent and can be embedded into the binary.
      
          This CL updates the corresponding list and also contains a few smallish
          tweaks to support having these builtins off the heap:
      
          * wasm: copy the off-heap builtin, not its trampoline.
          * Code::contains: support off-heap builtins.
          * JSFunction::is_compiled: compare builtin index instead of identity
            (this is relevant during mksnapshot when we transition from the
            on-heap builtin to its off-heap representation + the trampoline).
          * Remove old DCHECKs.
          * A few tweaks in macro-assembler ports that have snuck in recently.
      
      R=jgruber@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: Ib16ce35f5ebdade42720f536ac521c79e7c46778
      Reviewed-on: https://chromium-review.googlesource.com/1042927Reviewed-by: 's avatarJoran Siu <joransiu@ca.ibm.com>
      Commit-Queue: Junliang Yan <jyan@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#52973}
      2489567d