1. 24 Feb, 2016 37 commits
  2. 23 Feb, 2016 3 commits
    • littledan's avatar
      Ensure Array.prototype.indexOf returns +0 rather than -0 · 8798ef2d
      littledan authored
      A recent ES2016 draft spec clarification indicates that, if -0 is
      passed into Array.prototype.indexOf or Array.prototype.lastIndexOf
      as the starting index, and the result is found at index 0, then +0
      rather than -0 should be returned. This patch ensures that V8 has
      that result, which is consistent with what some other browsers
      return. The patch allows a couple test262 tests to pass.
      
      R=adamk
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1729653002
      
      Cr-Commit-Position: refs/heads/master@{#34229}
      8798ef2d
    • bradnelson's avatar
      Allow negative literals in asm->wasm non-conversion operations. · c8c5b3fd
      bradnelson authored
      This allows expressions like:
      (x + y) & -1
      [intish] & [signed]
      
      The previous conversion condition was too strict (intended to
      forbid non-int expression conversion). Expressing in
      a different way.
      
      BUG= https://code.google.com/p/v8/issues/detail?id=4203
      TEST=mjsunit/asm-wasm
      R=aseemgarg@chromium.org,titzer@chromium.org
      LOG=N
      
      Review URL: https://codereview.chromium.org/1717213002
      
      Cr-Commit-Position: refs/heads/master@{#34228}
      c8c5b3fd
    • mbrandy's avatar
      PPC: [fullcodegen] Implement operand stack depth tracking. · b3de78c1
      mbrandy authored
      Port 38915ed7
      
      Original commit message:
          This implements a mechanism to track the exact depth of the operand
          stack in full-codegen for every sub-expression visitation. So far we
          only tracked the depth at statement level, but not at expression level.
          With the introduction of do-expressions it will be possible to construct
          local control flow (i.e. break, continue and friends) that target labels
          at an arbitrary operand stack depth, making this tracking a prerequisite
          for full do-expression support.
      
      R=mstarzinger@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:4755,v8:4488
      LOG=n
      
      Review URL: https://codereview.chromium.org/1729613002
      
      Cr-Commit-Position: refs/heads/master@{#34227}
      b3de78c1