1. 06 Oct, 2016 5 commits
  2. 05 Oct, 2016 2 commits
  3. 04 Oct, 2016 2 commits
  4. 03 Oct, 2016 2 commits
    • bradnelson's avatar
      [wasm] [asm.js] Track direct function indices and fixup. · cfed56c2
      bradnelson authored
      Recent changes to the wasm format prevent you from knowing
      the function index of a direct call until you know how many
      imports you have (the index spaces have been merged).
      
      Asm.js validation can't know this until all callsites have been
      visited if you want to avoid materializing the entire AST / parsing twice.
      Instead, keep a list of fixups to perform for all direct callsites,
      then update these with the imports count added when emitting the module.
      
      BUG=v8:4203
      R=aseemgarg@chromium.org,titzer@chromium.org
      
      Review-Url: https://codereview.chromium.org/2384623003
      Cr-Commit-Position: refs/heads/master@{#39937}
      cfed56c2
    • mtrofin's avatar
      [wasm] cleanup wasm-module.cc · 55478da2
      mtrofin authored
      - Coalesced all anonymous namespaces into one, and moved it to the
      top of the file, to match elsewhere in the v8 codebase.
      - Deleted dead code.
      - Moved functions that turned out to be local to wasm-module.cc to
      the anonymous namespace.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2384183002
      Cr-Commit-Position: refs/heads/master@{#39936}
      55478da2
  5. 01 Oct, 2016 2 commits
  6. 30 Sep, 2016 4 commits
  7. 29 Sep, 2016 9 commits
  8. 27 Sep, 2016 1 commit
    • 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
  9. 26 Sep, 2016 4 commits
    • jyan's avatar
      Fix GCC uninitialized error · 09d645de
      jyan authored
      Fix "error: ‘maximum’ may be used uninitialized in this function"
      
      R=ahaas@chromium.org, titzer@chromium.org, rossberg@chromium.org
      BUG=
      
      Review-Url: https://codereview.chromium.org/2371833002
      Cr-Commit-Position: refs/heads/master@{#39741}
      09d645de
    • ahaas's avatar
      [wasm] Do a proper HasProperty() check in the memory and table setup. · 7bffaaac
      ahaas authored
      The WebAssembly spec requires a HasProperty() check for the maximum
      property of the descriptor object which is used to set up a
      WebAssembly.Memory object or a WebAssembly.Table object.
      
      The original implementation only approximated the HasProperty() check.
      It used Get() to get the value of the maximum property of the descriptor
      object and compared the resulting value to {undefined}. However, this
      approximation is incorrect if the property exists but its value is
      {undefined}.
      
      R=titzer@chromium.org, franzih@chromium.org
      BUG=chromium:649461
      TEST=mjsunit/wasm/memory
      
      Review-Url: https://codereview.chromium.org/2367673003
      Cr-Commit-Position: refs/heads/master@{#39722}
      7bffaaac
    • ahaas's avatar
      [wasm] Bound the table size by Smi::kMaxValue. · 10d7ad9d
      ahaas authored
      BUG=chromium:649283
      R=titzer@chromium.org
      TEST=mjsunit/wasm/table
      
      Review-Url: https://codereview.chromium.org/2358923003
      Cr-Commit-Position: refs/heads/master@{#39711}
      10d7ad9d
    • jgruber's avatar
      Enable component builds for fuzzers · 22606f0c
      jgruber authored
      V8 is collecting a growing amount of fuzzers, all of which take substantial
      space on the bots and in chromium build archives. This CL improves that
      situation by allowing component (shared library) builds for almost all fuzzers.
      
      The parser fuzzer is handled as an exception since it would require exporting a
      large number of additional functions.
      
      A component build results in about a 50-100x improvement in file size for each
      fuzzer (~50M-100M to around 1.1M).
      
      BUG=chromium:648864
      CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_compile_dbg_ng;master.tryserver.chromium.android:android_clang_dbg_recipe
      
      Review-Url: https://codereview.chromium.org/2360983002
      Cr-Commit-Position: refs/heads/master@{#39709}
      22606f0c
  10. 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
  11. 22 Sep, 2016 2 commits
  12. 21 Sep, 2016 2 commits
  13. 20 Sep, 2016 3 commits