1. 15 Feb, 2018 1 commit
  2. 12 Feb, 2018 1 commit
  3. 02 Feb, 2018 1 commit
  4. 01 Feb, 2018 1 commit
  5. 18 Jan, 2018 1 commit
  6. 09 Jan, 2018 2 commits
  7. 18 Dec, 2017 1 commit
  8. 02 Dec, 2017 1 commit
    • Mathias Bynens's avatar
      Normalize casing of hexadecimal digits · 822be9b2
      Mathias Bynens authored
      This patch normalizes the casing of hexadecimal digits in escape
      sequences of the form `\xNN` and integer literals of the form
      `0xNNNN`.
      
      Previously, the V8 code base used an inconsistent mixture of uppercase
      and lowercase.
      
      Google’s C++ style guide uses uppercase in its examples:
      https://google.github.io/styleguide/cppguide.html#Non-ASCII_Characters
      
      Moreover, uppercase letters more clearly stand out from the lowercase
      `x` (or `u`) characters at the start, as well as lowercase letters
      elsewhere in strings.
      
      BUG=v8:7109
      TBR=marja@chromium.org,titzer@chromium.org,mtrofin@chromium.org,mstarzinger@chromium.org,rossberg@chromium.org,yangguo@chromium.org,mlippautz@chromium.org
      NOPRESUBMIT=true
      
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I790e21c25d96ad5d95c8229724eb45d2aa9e22d6
      Reviewed-on: https://chromium-review.googlesource.com/804294
      Commit-Queue: Mathias Bynens <mathias@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49810}
      822be9b2
  9. 15 Nov, 2017 1 commit
  10. 14 Nov, 2017 1 commit
    • Ross McIlroy's avatar
      [compiler] Add background compilation mode. · 9a4b334f
      Ross McIlroy authored
      Adds support for compiling top-level code on a background thread behind a flag.
      When the flag is enabled, any background-parsing-task will perform compilation
      as well as parsing.
      
      BUG=v8:5203
      TBR=marja@chromium.org,mstarzinger@chromium.org
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Icf90ac7211298d3555515dafc7c3245618ec1304
      Reviewed-on: https://chromium-review.googlesource.com/764048
      Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49364}
      9a4b334f
  11. 08 Nov, 2017 1 commit
  12. 03 Nov, 2017 2 commits
  13. 27 Oct, 2017 1 commit
  14. 25 Oct, 2017 1 commit
    • Clemens Hammacher's avatar
      [asm.js] Limit number of local variables · bb56b7ec
      Clemens Hammacher authored
      We have an internal limit of 50000 local variables per wasm function.
      This limit is checked when decoding the function body. For asm.js, we
      skip function body validation, since by construction the code we
      generate is correct. This makes us fail unexpectedly when trying to
      (lazily) compile an asm.js function with more than 50000 locals.
      Hence, check this limit in the asm parser and bail out if it is
      exceeded.
      
      R=mstarzinger@chromium.org
      
      Bug: chromium:775710
      Change-Id: I89d2069e133fb0f84947d477ae1ac5eda85571aa
      Reviewed-on: https://chromium-review.googlesource.com/732660Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48929}
      bb56b7ec
  15. 23 Oct, 2017 2 commits
  16. 18 Oct, 2017 1 commit
  17. 11 Oct, 2017 1 commit
  18. 06 Oct, 2017 2 commits
  19. 04 Oct, 2017 2 commits
  20. 29 Sep, 2017 1 commit
  21. 28 Sep, 2017 2 commits
    • Ben L. Titzer's avatar
      [wasm] Move compilation methods to module-compiler.h · afb7bdc4
      Ben L. Titzer authored
      Note that this also makes it possible to move several classes
      into the module-compiler.cc file and inline their implementations.
      
      This also allows removing several uses of wasm-module.h from
      other places in V8 that include wasm-objects.h.
      
      R=yangguo@chromium.org,clemensh@chromium.org,ahaas@chromium.org
      
      Bug: 
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I303ee2bb49dc53c951d377a1b65699c1e0e91da7
      Reviewed-on: https://chromium-review.googlesource.com/687494Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Ben Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48204}
      afb7bdc4
    • Peter Marshall's avatar
      [cleanup] Remove List. · 690d52af
      Peter Marshall authored
      ZoneList still used List as a base class, so this CL merges the two
      classes together. We also remove unused functions in List and ZoneList.
      
      We keep the inline header but move it to src/zone/zone-list-inl.h. The
      includes that use this header are still quite tangled, but we can fix
      that later.
      
      Bug: v8:6333
      Cq-Include-Trybots: master.tryserver.v8:v8_linux_noi18n_rel_ng
      Change-Id: Ia809813834b2328ff616623f8a843812a1eb42a7
      Reviewed-on: https://chromium-review.googlesource.com/681658
      Commit-Queue: Peter Marshall <petermarshall@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48200}
      690d52af
  22. 27 Sep, 2017 1 commit
  23. 26 Sep, 2017 1 commit
    • Michael Starzinger's avatar
      [asm.js] Fix Math.abs signature to return unsigned. · 02d999ab
      Michael Starzinger authored
      This fixes the signature of "Math.abs" from "(signed) -> signed" to
      "(signed) -> unsigned" and hence fixes cases where the absolute value
      would overflow the range of signed 32-bit values. This is in sync with
      spec erratas (and ECMAScript semantics).
      
      Note that this also switches the underlying implementation of the above
      absolute value function to a branch-free version.
      
      R=clemensh@chromium.org
      TEST=mjsunit/regress/regress-6838-3
      BUG=v8:6838
      
      Change-Id: Ib13b7ecd336ae386cbde7c574e727bf52f841e00
      Reviewed-on: https://chromium-review.googlesource.com/684181
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48169}
      02d999ab
  24. 25 Sep, 2017 2 commits
  25. 15 Sep, 2017 1 commit
    • Andreas Haas's avatar
      [wasm] Streaming compilation for WebAssembly. · 549692cb
      Andreas Haas authored
      In this CL I implement streaming compilation for WebAssembly,
      as described in the design doc I have sent out already.
      
      In this implementation the decoding of sections other than the
      code section is done immediately on the foreground thread.
      Eventually all decoding should happen in the background. I
      think it is acceptable to do the decoding on the foreground
      thread for now because I have finished it already, and
      decoding in the background would add even more complexity to
      this CL.
      
      Bug:v8:6785
      
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: I285e1e5e1a5a243113c92571b25ee9bae551d0ed
      Reviewed-on: https://chromium-review.googlesource.com/631721Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Andreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#48022}
      549692cb
  26. 13 Sep, 2017 1 commit
  27. 07 Sep, 2017 1 commit
  28. 06 Sep, 2017 1 commit
  29. 31 Aug, 2017 1 commit
  30. 28 Aug, 2017 1 commit
    • Michael Starzinger's avatar
      [asm.js] Correctly set minimum memory size to zero. · 89f839e5
      Michael Starzinger authored
      This makes sure the minimum memory size for WebAssembly modules derived
      from asm.js is set to zero. It allows instatiation without allocating an
      underlying memory, when such memory is unused. It also fixes a bug in
      patching of embedded memory sizes for asm.js modules.
      
      R=ahaas@chromium.org
      TEST=mjsunit/regress/regress-crbug-759327
      BUG=chromium:759327
      
      Change-Id: If5a965b96a03cbb5ba15bc41fbaf359f74961f41
      Reviewed-on: https://chromium-review.googlesource.com/637912
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#47646}
      89f839e5
  31. 25 Aug, 2017 2 commits
  32. 23 Aug, 2017 1 commit