1. 04 Aug, 2016 2 commits
  2. 03 Aug, 2016 2 commits
  3. 02 Aug, 2016 2 commits
  4. 28 Jul, 2016 2 commits
    • cbruni's avatar
      [api] Introduce fast instantiations cache · f3f738fe
      cbruni authored
      This CL introduces a new fast flat instantiations cache for the first 1024 object templates.
      After that we fall back to the existing slower dictionary cache.
      
      Drive-by-fix: de-handlify and clean up some code in api-natives.cc
      
      BUG=chromium:630217
      
      Review-Url: https://codereview.chromium.org/2170743003
      Cr-Commit-Position: refs/heads/master@{#38146}
      f3f738fe
    • ddchen's avatar
      [wasm] Add support for multiple indirect function tables · 0a9d4003
      ddchen authored
      This patch updates internal data structures used by V8 to support
      multiple indirect function tables (WebAssembly/design#682). But, since
      this feature is post-MVP, the functionality is not directly exposed and
      parsing/generation of WebAssembly is left unchanged. Nevertheless, it
      is being used in an experiment to implement fine-grained control flow
      integrity based on C/C++ types.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2174123002
      Cr-Commit-Position: refs/heads/master@{#38110}
      0a9d4003
  5. 26 Jul, 2016 1 commit
  6. 25 Jul, 2016 2 commits
  7. 22 Jul, 2016 1 commit
  8. 21 Jul, 2016 3 commits
  9. 20 Jul, 2016 1 commit
  10. 16 Jul, 2016 1 commit
  11. 15 Jul, 2016 2 commits
  12. 14 Jul, 2016 3 commits
  13. 13 Jul, 2016 1 commit
  14. 12 Jul, 2016 1 commit
  15. 11 Jul, 2016 1 commit
  16. 08 Jul, 2016 2 commits
  17. 05 Jul, 2016 1 commit
    • ahaas's avatar
      [wasm] Copy the signature when compiling an imported function. · 65415ca7
      ahaas authored
      The signature of an imported function is needed to compile a wrapper in
      wasm to call the imported function. The signature is stored in a heap
      object which is created when the wasm module is compiled. With this CL
      we do not use a pointer to the signature in the heap object but instead
      copy the signature and then use a pointer to the copy. A pointer into
      a heap object causes problems when a GC is happening.
      
      R=titzer@chromium.org, mtrofin@chromium.org
      
      Review-Url: https://codereview.chromium.org/2124743002
      Cr-Commit-Position: refs/heads/master@{#37527}
      65415ca7
  18. 04 Jul, 2016 1 commit
  19. 01 Jul, 2016 2 commits
  20. 30 Jun, 2016 2 commits
    • ahaas's avatar
      [wasm] Detect unrepresentability in the float32-to-int32 conversion correctly on arm. · de369129
      ahaas authored
      In the current implementation of wasm an unrepresentable input of the
      float32-to-int32 conversion is detected by first truncating the input, then
      converting the truncated input to int32 and back to float32, and then checking
      whether the result is the same as the truncated input.
      
      This input check does not work on arm and arm64 for an input of (INT32_MAX + 1)
      because on these platforms the float32-to-int32 conversion results in INT32_MAX
      if the input is greater than INT32_MAX.  When INT32_MAX is converted back to
      float32, then the result is (INT32_MAX + 1) again because INT32_MAX cannot be
      represented precisely as float32, and rounding-to-nearest results in (INT32_MAX
      + 1). Since (INT32_MAX + 1) equals the truncated input value, the input appears
      to be representable.
      
      With the changes in this CL, the result of the float32-to-int32 conversion is
      incremented by 1 if the original result was INT32_MAX. Thereby the detection of
      unrepresenable inputs in wasm works. Note that since INT32_MAX cannot be
      represented precisely in float32, it can also never be a valid result of the
      float32-to-int32 conversion.
      
      @v8-mips-ports, can you do a similar implementation for mips?
      
      R=titzer@chromium.org, Rodolph.Perfetta@arm.com
      
      Review-Url: https://codereview.chromium.org/2105313002
      Cr-Commit-Position: refs/heads/master@{#37448}
      de369129
    • titzer's avatar
      [wasm] Disassemble wasm code from script · d249efd7
      titzer authored
      This stores the wasm object and the function index in the script, and
      adds functions to get the disassembled wasm code as well as the offset
      table mapping from byte position to line and column in the disassembly
      solely from the script.
      This will be used to show "ui source code" in DevTools, and map raw
      locations from the stack trace into this code view.
      
      R=yangguo@chromium.org, ahaas@chromium.org, titzer@chromium.org
      BUG=chromium:613110
      
      patch from issue 2063013004 at patchset 80001 (http://crrev.com/2063013004#ps80001)
      
      Review-Url: https://codereview.chromium.org/2105303002
      Cr-Commit-Position: refs/heads/master@{#37430}
      d249efd7
  21. 29 Jun, 2016 7 commits