1. 23 Mar, 2016 31 commits
  2. 22 Mar, 2016 9 commits
    • echristo's avatar
      Fix a warning about inline asm source/destination mismatches for cache_type_register_. · d6d82306
      echristo authored
      The warning notes that we'd want a 'w' register here because the size of
      the operand is 32-bit, however, the instruction only takes an 'x'
      register and so force that using the 'x' modifier on the instruction.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1817963003
      
      Cr-Commit-Position: refs/heads/master@{#35008}
      d6d82306
    • ishell's avatar
      [es6] Stage tail call elimination. · 4e8670d1
      ishell authored
      BUG=v8:4698
      LOG=N
      
      Review URL: https://codereview.chromium.org/1820293002
      
      Cr-Commit-Position: refs/heads/master@{#35007}
      4e8670d1
    • jyan's avatar
      S390: Turn LoadIndexedInterceptor into a Turbofan stub · a68b1fdc
      jyan authored
      Port 9536c388
      
      R=verwaest@chromium.org, joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1824133002
      
      Cr-Commit-Position: refs/heads/master@{#35006}
      a68b1fdc
    • jyan's avatar
      S390: Turn StoreWithInterceptor into a turbofan stub · f62ac8aa
      jyan authored
      Port 75ed4a60
      R=verwaest@chromium.org, joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1825623002
      
      Cr-Commit-Position: refs/heads/master@{#35005}
      f62ac8aa
    • jyan's avatar
      S390: [stubs] Split ToNumberStub into reusable subparts. · 0503ba76
      jyan authored
      Port b7aa4c3a
      
      Original commit message:
          Split ToNumberStub into the entry ToNumberStub, and two new stubs,
          StringToNumberStub and NonNumberToNumberStub, which can be used when we
          already know something about the input (i.e. in various branches of the
          code stubs, or in TurboFan graphs).
      
          Also introduce an appropriate StringToNumber simplified operator for
          TurboFan, that is pure and is lowered to an invocation of the newly
          added StringToNumberStub.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1825593003
      
      Cr-Commit-Position: refs/heads/master@{#35004}
      0503ba76
    • jyan's avatar
      S390: [crankshaft] Fixing ES6 tail call elimination. · 716ab0d3
      jyan authored
      Port acbb968d
      Port 66e22b79
      
      Original commit messages:
          In case when F inlined normal call to G which tail calls H we should not write translation for G for the tail call site.
          Otherwise we will see G in a stack trace inside H.
      
          This CL also enables all existing tests related to ES6 tail call elimination and adds more combinations.
      
          Always generate lazy bailout points for tail calls because Debugger could still require them to inspect optimized frames.
      
      R=ishell@chromium.org, joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com
      BUG=chromium:596473, v8:4698
      LOG=N
      
      Review URL: https://codereview.chromium.org/1820373002
      
      Cr-Commit-Position: refs/heads/master@{#35003}
      716ab0d3
    • adamk's avatar
      Remove support for legacy const, part 1 · ed18aa65
      adamk authored
      Now that ES2015 const has shipped, in Chrome 49, legacy const declarations
      are no more. This lets us remove a bunch of code from many parts of the
      codebase.
      
      In this patch, I remove parser support for generating legacy const variables
      from const declarations. This also removes the special "illegal declaration"
      bit from Scope, which has ripples into all compiler backends.
      
      Also gone are any tests which relied on legacy const declarations.
      
      Note that we do still generate a Variable in mode CONST_LEGACY in one case:
      function name bindings in sloppy mode. The likely fix there is to add a new
      Variable::Kind for this case and handle it appropriately for stores in each
      backend, but I leave that for a later patch to make this one completely
      subtractive.
      
      Review URL: https://codereview.chromium.org/1819123002
      
      Cr-Commit-Position: refs/heads/master@{#35002}
      ed18aa65
    • littledan's avatar
      Fix match default behavior on strings for ES2015 semantics · 64b2b1ac
      littledan authored
      String.prototype.match is specified to call out to the current
      value of RegExp.prototype[Symbol.match] when passed a string argument,
      rather than the original value. This patch updates the RegExp code
      to do that.
      
      R=yangguo@chromium.org
      BUG=v8:4602
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1821773003
      
      Cr-Commit-Position: refs/heads/master@{#35001}
      64b2b1ac
    • joransiu's avatar
      S390:[crankshaft] Sign-ext key before array access · bdcefb9d
      joransiu authored
      The 'key' value being passed into an array access should
      be sign-extended on 64-bit platforms before being used to
      index into memory.  Otherwise, garbage in the upper 32-bits
      may result in a segmentation fault.
      
      Minor fix to DoFlooringDivI to enforce 32-bit operations for calculation.
      
      R=jyan@ca.ibm.com,michael_dawson@ca.ibm.com,mbrandy@us.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1822103002
      
      Cr-Commit-Position: refs/heads/master@{#35000}
      bdcefb9d