1. 27 Apr, 2017 33 commits
  2. 26 Apr, 2017 7 commits
    • bjaideep's avatar
      PPC/s390: SmiUntag only for 32bit · 76dfdb7a
      bjaideep authored
      R=joransiu@ca.ibm.com, jyan@ca.ibm.com
      BUG=
      LOG=n
      
      Review-Url: https://codereview.chromium.org/2842843005
      Cr-Commit-Position: refs/heads/master@{#44908}
      76dfdb7a
    • Eric Holk's avatar
      Revert "[wasm] Add guard pages before Wasm Memory" · 54be464f
      Eric Holk authored
      This reverts commit d7cdea6f.
      
      Reason for revert: Flakiness on bots
      
      Original change's description:
      > [wasm] Add guard pages before Wasm Memory
      > 
      > Although Wasm memory indices are all unsigned, they sometimes get assembled
      > as 32-bit signed immediates. Values in the top half of the Wasm memory space
      > will then get sign extended, causing Wasm to access in front of its memory
      > buffer.
      > 
      > Usually this region is not mapped anyway, so faults still happen as they are
      > supposed to. This change protects this region with guard pages so we are
      > guaranteed to always fault when this happens.
      > 
      > Bug: v8:5277
      > Change-Id: Id791fbe2a5ac1b1d75460e65c72b5b9db2a47ee7
      > Reviewed-on: https://chromium-review.googlesource.com/484747
      > Commit-Queue: Eric Holk <eholk@chromium.org>
      > Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#44905}
      
      TBR=bradnelson@chromium.org,gdeepti@chromium.org,mtrofin@chromium.org,eholk@chromium.org,mseaborn@chromium.org,adamk@chromium.org,v8-reviews@googlegroups.com,wasm-v8@google.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      
      Change-Id: Ia1d3e5dbf4f518815a9fd4197047077bc8e42816
      Reviewed-on: https://chromium-review.googlesource.com/487828Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44907}
      54be464f
    • Adam Klein's avatar
      Revert behavioral part of 84dc8ed4 · 86aa7960
      Adam Klein authored
      Clearing out the constructor field is invalid in the case where the
      function's map has transitioned since the last SetPrototype call.
      
      Bug: chromium:714972
      Change-Id: Ie918702a128219c4995b805f7c9a53b41cc4e4b6
      Reviewed-on: https://chromium-review.googlesource.com/486130
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44906}
      86aa7960
    • Eric Holk's avatar
      [wasm] Add guard pages before Wasm Memory · d7cdea6f
      Eric Holk authored
      Although Wasm memory indices are all unsigned, they sometimes get assembled
      as 32-bit signed immediates. Values in the top half of the Wasm memory space
      will then get sign extended, causing Wasm to access in front of its memory
      buffer.
      
      Usually this region is not mapped anyway, so faults still happen as they are
      supposed to. This change protects this region with guard pages so we are
      guaranteed to always fault when this happens.
      
      Bug: v8:5277
      Change-Id: Id791fbe2a5ac1b1d75460e65c72b5b9db2a47ee7
      Reviewed-on: https://chromium-review.googlesource.com/484747
      Commit-Queue: Eric Holk <eholk@chromium.org>
      Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44905}
      d7cdea6f
    • Adam Klein's avatar
      Make Object::ToObject() output more useful error messages · a711f281
      Adam Klein authored
      This allows us to avoid a separate receiver typecheck in a few places
      without regressing the error messages generated.
      
      As more Array methods move to C++, this will get more usage.
      
      Bug: v8:3577
      Change-Id: Ibdd17c781548520172ce62442bc3a800e5c09e99
      Reviewed-on: https://chromium-review.googlesource.com/486103Reviewed-by: 's avatarSathya Gunasekaran <gsathya@chromium.org>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44904}
      a711f281
    • Adam Klein's avatar
      [ESNext] Stage --harmony-strict-legacy-accessor-builtins · 6058b447
      Adam Klein authored
      R=littledan@chromium.org
      
      Bug: v8:5070
      Change-Id: I15d26410eafca47eec7ecd0b3ca58d608f4ae0cc
      Reviewed-on: https://chromium-review.googlesource.com/487029Reviewed-by: 's avatarDaniel Ehrenberg <littledan@chromium.org>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44903}
      6058b447
    • Clemens Hammacher's avatar
      [wasm] [interpreter] Avoid redundant stack limit checks · 213d1fa6
      Clemens Hammacher authored
      The interpreter used a ZoneVector<WasmVal> to model the value stack.
      Thus, at each single pop to the stack, a bounds check was performed,
      and the storage was potentially extended.
      This CL changes this to pre-allocate enough space for the stack of a
      function when a new frame is entered. This avoids any checks for pushs
      and pops.
      Instead of storing a ZoneVector<WasmVal>, we store WasmVal* directly.
      The maximum value stack size is precomputed together with the control
      transfer side table.
      
      This CL speeds up interpreted execution by 15% on average (measured
      locally on a Z840).
      
      R=ahaas@chromium.org
      BUG=v8:5822
      
      Change-Id: If949f7ee5233d874cd6a04b7dde2d7b4a95e45ea
      Reviewed-on: https://chromium-review.googlesource.com/488061
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44902}
      213d1fa6