1. 15 Feb, 2016 34 commits
  2. 14 Feb, 2016 2 commits
  3. 13 Feb, 2016 1 commit
  4. 12 Feb, 2016 3 commits
    • mbrandy's avatar
      PPC: [runtime] Introduce FastNewStrictArgumentsStub to optimize strict arguments. · fb10f8fa
      mbrandy authored
      Port 09d84535
      
      Original commit message:
          The FastNewStrictArgumentsStub is very similar to the recently added
          FastNewRestParameterStub, it's actually almost a copy of it, except that
          it doesn't have the fast case we have for the empty rest parameter. This
          patch improves strict arguments in TurboFan and fullcodegen by up to 10x
          compared to the previous version.
      
          Also introduce proper JSSloppyArgumentsObject and JSStrictArgumentsObject
          for the in-object properties instead of having them as constants in the
          Heap class.
      
          Drive-by-fix: Use this stub and the FastNewRestParameterStub in the
          interpreter to avoid the runtime call overhead for strict arguments
          and rest parameter creation.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1696743002
      
      Cr-Commit-Position: refs/heads/master@{#33963}
      fb10f8fa
    • mbrandy's avatar
      PPC: [Interpreter] Save and restore dispatch table pointer during calls. · c8257c4c
      mbrandy authored
      Port a2935d63
      
      Original commmit message:
          Saves and restores the dispatch pointer during calls to enable the debugger to
          switch the dispatch table used by a function during it's execution.
      
          Also moves the accumulator and context nodes to be Variables so that they will
          be properly merged across branches.
      
      R=rmcilroy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:4280,v8:4690
      LOG=N
      
      Review URL: https://codereview.chromium.org/1688373002
      
      Cr-Commit-Position: refs/heads/master@{#33962}
      c8257c4c
    • adamk's avatar
      Remove AssignmentExpressionFlags enum, handle error checking in callers · 1003785c
      adamk authored
      This is hopefully the last in a series of cleanup patches around
      destructuring assignment. It simplifies the ParseAssignmentExpression
      API, making the callers call CheckDestructuringElement() where appropriate.
      CheckDestructuringElement has been further simplified to only emit the
      errors that the parser depends on it emitting.
      
      I've also beefed up the test coverage in test-parsing.cc to
      handling all the destructuring flags being on, which caught an oddity
      in how we disallow initializers in spreads in patterns (we need to treat
      RewritableAssignmentExpressions as Assignments for the purpose of
      error checking).
      
      Finally, I added a few helper methods to ParserBase to handle a few
      classes of expressions (assignments and literals-as-patterns).
      
      Review URL: https://codereview.chromium.org/1696603002
      
      Cr-Commit-Position: refs/heads/master@{#33961}
      1003785c