1. 12 Aug, 2019 1 commit
  2. 19 Jul, 2019 2 commits
  3. 12 Jul, 2019 1 commit
  4. 11 Jul, 2019 1 commit
  5. 10 Jul, 2019 1 commit
    • Clemens Hammacher's avatar
      [wasm][fuzzer] Detect stack overflow in interpreter · 5d1c9d5f
      Clemens Hammacher authored
      The {InterpretWasmModuleForTesting} is used to determine whether a
      module is cheap enough to execute the compiled code (there is a cap on
      the number of executed instructions). If the module executes too much
      code, {InterpretWasmModuleForTesting} returns {false}.
      The check for a stack overflow was missing though, so it would return
      {true} in that case, and the compiled code would be executed. This can
      lead to timeouts.
      
      R=ahaas@chromium.org
      
      Bug: chromium:947909
      Change-Id: I0b003963d3ca548f388fdf4ec4995c4199656f91
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1693011Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#62617}
      5d1c9d5f
  6. 08 Jul, 2019 2 commits
  7. 05 Jul, 2019 1 commit
  8. 12 Jun, 2019 1 commit
  9. 30 May, 2019 1 commit
  10. 28 May, 2019 1 commit
  11. 27 May, 2019 1 commit
    • Clemens Hammacher's avatar
      [cleanup] Replace simple typedefs by using · a335f2ae
      Clemens Hammacher authored
      This replaces all typedefs that define types and not functions by the
      equivalent "using" declaration.
      
      This was done mostly automatically using this command:
      ag -l '\btypedef\b' src test | xargs -L1 \
           perl -i -p0e 's/typedef ([^*;{}]+) (\w+);/using \2 = \1;/sg'
      
      Patchset 2 then adds some manual changes for typedefs for pointer types,
      where the regular expression did not match.
      
      R=mstarzinger@chromium.org
      TBR=yangguo@chromium.org, jarin@chromium.org
      
      Bug: v8:9183
      Change-Id: I6f6ee28d1793b7ac34a58f980b94babc21874b78
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1631409
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#61849}
      a335f2ae
  12. 24 May, 2019 1 commit
  13. 23 May, 2019 3 commits
  14. 22 May, 2019 1 commit
  15. 21 May, 2019 1 commit
  16. 20 May, 2019 1 commit
  17. 14 May, 2019 1 commit
  18. 13 May, 2019 1 commit
  19. 07 May, 2019 1 commit
  20. 03 May, 2019 2 commits
  21. 18 Apr, 2019 1 commit
  22. 17 Apr, 2019 1 commit
  23. 03 Apr, 2019 3 commits
    • Clemens Hammacher's avatar
      [wasm] Use engine's allocator consistently · 084207d9
      Clemens Hammacher authored
      Using the Isolate's allocator when creating the WasmModule can lead to
      use-after-free situations when the NativeModule is shared across
      Isolates.
      
      R=mstarzinger@chromium.org
      
      Bug: v8:9079
      Change-Id: I5a564852179cc5b9d4cbad2a002d3b6e14b01968
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1550404Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60605}
      084207d9
    • Michael Starzinger's avatar
      [wasm] Add support for "br_on_exn" in the interpreter. · 46a99b07
      Michael Starzinger authored
      This adds preliminary support for handling the "br_on_exn" opcode in the
      interpreter. It also makes "catch" and "rethrow" use a proper exception
      reference instead of a dummy value.
      
      To that end this also adds {Handle<>} as a new kind of {WasmValue} which
      is intended to pass reference values (e.g. "anyref" or "except_ref") to
      the runtime system. Therefore lifetime of such a {WasmValue} is directly
      coupled to any surrounding {HandleScope}.
      
      For now we just store {Handle<>} directly on the simulated operand stack
      of the interpreter. This is of course bogus, since the surrounding scope
      does not outlive the interpreter activation. Decoupling the lifetime of
      the operand stack from a {HandleScope} will be done in a follow-up CL.
      
      As a drive-by this change also implements support for the "ref_null" and
      the "ref_is_null" opcodes as a proof-of-concept that the new {WasmValue}
      is also applicable to the "anyref" reference type.
      
      R=clemensh@chromium.org
      TEST=cctest/test-run-wasm-interpreter/ReferenceTypeLocals
      BUG=v8:8091,v8:7581
      
      Change-Id: I2307e0689a19c4aab1d67f1ba6742cb3cc31aa3c
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1550299
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60598}
      46a99b07
    • Frederik Gossen's avatar
      [wasm-hints] Unified Naming for Compilation Hints · f0cfb7cc
      Frederik Gossen authored
      The tiers are now consistently referred to as baselin and top tier.
      
      Bug: v8:9003
      Change-Id: I74ad1867aca63bee9eb83b7f0f9fbaf2b1523dcb
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1547667
      Commit-Queue: Frederik Gossen <frgossen@google.com>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60591}
      f0cfb7cc
  24. 20 Mar, 2019 1 commit
  25. 20 Feb, 2019 1 commit
  26. 19 Feb, 2019 2 commits
  27. 14 Feb, 2019 1 commit
  28. 12 Feb, 2019 1 commit
  29. 07 Feb, 2019 2 commits
  30. 31 Jan, 2019 2 commits