1. 18 Dec, 2017 1 commit
  2. 20 Jun, 2017 1 commit
    • Michael Starzinger's avatar
      [asm.js] Ensure coercion of imports is non-observable. · 21cbc914
      Michael Starzinger authored
      This makes sure that the coercion of global import values to numbers
      remains non-observable to JavaScript. It allows instantiation failures
      to fall back to JavaScript proper without accidentally causing some
      side-effect to happen twice. Also coercions might invalidate previous
      checks done during linking or throw exceptions.
      
      R=clemensh@chromium.org
      TEST=mjsunit/regress/regress-6431
      BUG=v8:6431
      
      Change-Id: Ibe2f7a336bc0fb25532d526746ecc802e04bbd5c
      Reviewed-on: https://chromium-review.googlesource.com/512544
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46051}
      21cbc914
  3. 23 May, 2017 1 commit
  4. 27 Apr, 2017 1 commit
  5. 24 Mar, 2017 1 commit
    • bradnelson's avatar
      [wasm][asm.js] Asm.js -> wasm custom parser. · 083a8d72
      bradnelson authored
      Add the --fast-validate-asm option, which directs asm.js code
      to a new parser + validator + wasm code generator,
      which is then compiled using WebAssembly.
      
      This parser takes advantage of asm.js structure to linearly parse
      asm.js code, keeping a scope stack + a few additional tables to track
      varibles.
      
      BUG=v8:6090
      BUG=v8:4203
      
      R=mstarzinger@chromium.org,marja@chromium.org,vogelheim@chromium.org,kschimpf@chromium.org
      
      Review-Url: https://codereview.chromium.org/2757693003
      Cr-Commit-Position: refs/heads/master@{#44084}
      083a8d72
  6. 14 Mar, 2017 1 commit
  7. 14 Feb, 2017 1 commit
  8. 09 Dec, 2016 1 commit
  9. 08 Dec, 2016 1 commit
  10. 07 Dec, 2016 1 commit
  11. 06 Dec, 2016 1 commit
  12. 01 Dec, 2016 1 commit
  13. 30 Nov, 2016 1 commit
  14. 05 Oct, 2016 1 commit
  15. 27 Sep, 2016 2 commits
    • bradnelson's avatar
      [wasm] asm.js: Work around parser converting !0 and !1 to boolean. · 53b22823
      bradnelson authored
      !0 -> true and !1 -> false etc in the parser.
      This clashes with some of the typing logic in asm.js,
      and can show up in some real programs in the wild (at least in past asm.js
      versions).
      
      BUG= https://bugs.chromium.org/p/v8/issues/detail?id=4203
      R=aseemgarg@chromium.org,jpp@chromium.org
      
      Review-Url: https://codereview.chromium.org/2372823004
      Cr-Commit-Position: refs/heads/master@{#39798}
      53b22823
    • titzer's avatar
      [wasm] Master CL for Binary 0xC changes. · 28392ab1
      titzer authored
      [0xC] Convert to stack machine semantics.
      [0xC] Use section codes instead of names.
      [0xC] Add elements section decoding.
      [0xC] Decoding of globals section.
      [0xC] Decoding of memory section.
      [0xC] Decoding of imports section.
      [0xC] Decoding of exports section.
      [0xC] Decoding of data section.
      [0xC] Remove CallImport bytecode.
      [0xC] Function bodies have an implicit block.
      [0xC] Remove the bottom label from loops.
      [0xC] Add signatures to blocks.
      [0xC] Remove arities from branches.
      Add tests for init expression decoding.
      Rework compilation of import wrappers and how they are patched.
      Rework function indices in debugging.
      Fix ASM->WASM builder for stack machine.
      Reorganize asm.js foreign functions due to import indices change.
      
      R=ahaas@chromium.org,rossberg@chromium.org,bradnelson@chromium.org
      BUG=chromium:575167
      LOG=Y
      
      Committed: https://crrev.com/76eb976a67273b8c03c744f64ad850b0432554b9
      Review-Url: https://codereview.chromium.org/2345593003
      Cr-Original-Commit-Position: refs/heads/master@{#39678}
      Cr-Commit-Position: refs/heads/master@{#39795}
      28392ab1
  16. 23 Sep, 2016 2 commits
    • machenbach's avatar
      Revert of [wasm] Master CL for Binary 0xC changes. (patchset #26 id:490001 of... · e1eee748
      machenbach authored
      Revert of [wasm] Master CL for Binary 0xC changes. (patchset #26 id:490001 of https://codereview.chromium.org/2345593003/ )
      
      Reason for revert:
      Main suspect for tsan:
      https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/11893
      
      Also changes layout tests:
      https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/10036
      
      +mips builder:
      https://build.chromium.org/p/client.v8.ports/builders/V8%20Mips%20-%20builder/builds/4032
      
      Original issue's description:
      > [wasm] Master CL for Binary 0xC changes.
      >
      > [0xC] Convert to stack machine semantics.
      > [0xC] Use section codes instead of names.
      > [0xC] Add elements section decoding.
      > [0xC] Decoding of globals section.
      > [0xC] Decoding of memory section.
      > [0xC] Decoding of imports section.
      > [0xC] Decoding of exports section.
      > [0xC] Decoding of data section.
      > [0xC] Remove CallImport bytecode.
      > [0xC] Function bodies have an implicit block.
      > [0xC] Remove the bottom label from loops.
      > [0xC] Add signatures to blocks.
      > [0xC] Remove arities from branches.
      > Add tests for init expression decoding.
      > Rework compilation of import wrappers and how they are patched.
      > Rework function indices in debugging.
      > Fix ASM->WASM builder for stack machine.
      > Reorganize asm.js foreign functions due to import indices change.
      >
      > R=ahaas@chromium.org,rossberg@chromium.org,bradnelson@chromium.org
      > BUG=chromium:575167
      > LOG=Y
      >
      > Committed: https://crrev.com/76eb976a67273b8c03c744f64ad850b0432554b9
      > Cr-Commit-Position: refs/heads/master@{#39678}
      
      TBR=ahaas@chromium.org,bradnelson@chromium.org,mtrofin@chromium.org,rossberg@chromium.org,bradnelson@google.com,titzer@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=chromium:575167
      
      Review-Url: https://codereview.chromium.org/2361053004
      Cr-Commit-Position: refs/heads/master@{#39685}
      e1eee748
    • titzer's avatar
      [wasm] Master CL for Binary 0xC changes. · 76eb976a
      titzer authored
      [0xC] Convert to stack machine semantics.
      [0xC] Use section codes instead of names.
      [0xC] Add elements section decoding.
      [0xC] Decoding of globals section.
      [0xC] Decoding of memory section.
      [0xC] Decoding of imports section.
      [0xC] Decoding of exports section.
      [0xC] Decoding of data section.
      [0xC] Remove CallImport bytecode.
      [0xC] Function bodies have an implicit block.
      [0xC] Remove the bottom label from loops.
      [0xC] Add signatures to blocks.
      [0xC] Remove arities from branches.
      Add tests for init expression decoding.
      Rework compilation of import wrappers and how they are patched.
      Rework function indices in debugging.
      Fix ASM->WASM builder for stack machine.
      Reorganize asm.js foreign functions due to import indices change.
      
      R=ahaas@chromium.org,rossberg@chromium.org,bradnelson@chromium.org
      BUG=chromium:575167
      LOG=Y
      
      Review-Url: https://codereview.chromium.org/2345593003
      Cr-Commit-Position: refs/heads/master@{#39678}
      76eb976a
  17. 19 Sep, 2016 1 commit
  18. 23 Aug, 2016 1 commit
  19. 19 Aug, 2016 1 commit
  20. 13 Jul, 2016 1 commit
  21. 29 Jun, 2016 1 commit
  22. 28 Jun, 2016 2 commits
  23. 25 May, 2016 1 commit
  24. 29 Apr, 2016 1 commit
    • titzer's avatar
      [wasm] Binary 11: WASM AST is now postorder. · 2aa4656e
      titzer authored
      [wasm] Binary 11: br_table takes a value.
      [wasm] Binary 11: Add implicit blocks to if arms.
      [wasm] Binary 11: Add arities to call, return, and breaks
      [wasm] Binary 11: Add experimental version.
      
      This CL changes the encoder, decoder, and tests to use a postorder
      encoding of the AST, which is more efficient in decode time and
      space.
      
      R=bradnelson@chromium.org,rossberg@chromium.org,binji@chromium.org
      BUG=chromium:575167
      LOG=Y
      
      Review-Url: https://codereview.chromium.org/1830663002
      Cr-Commit-Position: refs/heads/master@{#35896}
      2aa4656e
  25. 13 Apr, 2016 1 commit
  26. 31 Mar, 2016 1 commit
  27. 23 Mar, 2016 2 commits
  28. 21 Mar, 2016 1 commit
  29. 14 Mar, 2016 1 commit
  30. 08 Mar, 2016 1 commit
  31. 03 Mar, 2016 1 commit
  32. 01 Mar, 2016 2 commits
  33. 27 Feb, 2016 1 commit
  34. 24 Feb, 2016 1 commit
  35. 23 Feb, 2016 1 commit