1. 08 Dec, 2017 2 commits
    • Mircea Trofin's avatar
      [wasm] Fix wasm-jit-to-native + W^X GC heap interaction issues · 1048a6b4
      Mircea Trofin authored
      - in certain cases, we need both modification scopes because we may
      mutate JS functions, even in the jit-to-native case - e.g. JS-to-wasm
      wrappers
      - added handling for wasm-to-wasm wrappers in the context of lazy
      compilation.
      
      Bug: v8:7105
      Change-Id: I085c14e03ef0b08d040998f2207abf7bc3fff01c
      Reviewed-on: https://chromium-review.googlesource.com/811285
      Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
      Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49947}
      1048a6b4
    • Mircea Trofin's avatar
      Revert "Revert "[wasm] Fix wasm-to-wasm handling in 'native heap' lazy compile"" · 4aa0d017
      Mircea Trofin authored
      This reverts commit d59063b5.
      
      Reason for revert: worked around android toolchain issue. 
      chromium:771171 is expected to address android toolchain issue
      
      Original change's description:
      > Revert "[wasm] Fix wasm-to-wasm handling in 'native heap' lazy compile"
      > 
      > This reverts commit 59f22174.
      > 
      > Reason for revert: android build issue (https://build.chromium.org/p/client.v8.fyi/builders/Android%20Release%20%28Nexus%205X%29/builds/3583)
      > 
      > Original change's description:
      > > [wasm] Fix wasm-to-wasm handling in 'native heap' lazy compile
      > > 
      > > Wasm-to-wasm uses a tail call mechanism to reach the target
      > > function. This means there is no frame for it. This CL ports
      > > the fix for that for the WasmCodeManager case, akin the current
      > > fix for the GC case.
      > > 
      > > Bug: v8:7140
      > > Change-Id: I04c8a8da1de9cb837a0423493216d2226c53e756
      > > Reviewed-on: https://chromium-review.googlesource.com/814498
      > > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > > Reviewed-by: Ben Titzer <titzer@chromium.org>
      > > Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#49942}
      > 
      > TBR=bradnelson@chromium.org,titzer@chromium.org,mtrofin@chromium.org,clemensh@chromium.org
      > 
      > Change-Id: Iae0e43b386f08d2d56aeef70e9fa0af141232023
      > No-Presubmit: true
      > No-Tree-Checks: true
      > No-Try: true
      > Bug: v8:7140
      > Reviewed-on: https://chromium-review.googlesource.com/815180
      > Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
      > Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#49943}
      
      TBR=bradnelson@chromium.org,titzer@chromium.org,mtrofin@chromium.org,clemensh@chromium.org
      
      Change-Id: If613a6c986ac4cf0534aecd8ea9bf74ecac21292
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:7140
      Reviewed-on: https://chromium-review.googlesource.com/815956
      Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
      Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#49946}
      4aa0d017
  2. 07 Dec, 2017 31 commits
  3. 06 Dec, 2017 7 commits