1. 20 Apr, 2016 31 commits
  2. 19 Apr, 2016 9 commits
    • bjaideep's avatar
      PPC: [Interpreter] Remove register file register and replace with LoadParentFramePointer. · 5178802b
      bjaideep authored
      Port 623ad7de
      
      Original commit message:
      
          Removes the register file machine register from the interpreter and
          replaces it will loads from the parent frame pointer. As part of this
          change the raw operand values for register values changes to enable the
          interpreter to keep using the operand value as the offset from the
          parent frame pointer.
      
      R=rmcilroy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:4280
      LOG=N
      
      Review URL: https://codereview.chromium.org/1901763004
      
      Cr-Commit-Position: refs/heads/master@{#35637}
      5178802b
    • jyan's avatar
      S390: First version of the new generators implementation. · a43b48fd
      jyan authored
      Port d0ccddd0
      
      Original commit message:
             First version of the new generators implementation.
      
             Behind --ignition-generators. Does not yet support Turbofan.
      
      R=neis@chromium.org, joransiu@ca.ibm.com, mbrandy@us.ibm.com, michael_dawson@ca.ibm.com, bjaideep@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1899283002
      
      Cr-Commit-Position: refs/heads/master@{#35636}
      a43b48fd
    • bjaideep's avatar
      PPC: Remove all non-function-name uses of CONST_LEGACY · f8844a6e
      bjaideep authored
      Port 59546149
      
      Original commit message:
      
          Now that all 'const' declarations are of the ES2015 variety, the only
          use of CONST_LEGACY is for function name bindings in sloppy mode
          named function expressions.
      
          This patch aims to delete all code meant to handle other cases, which
          mostly had to do with hole initialization/hole checks. Since function
          name bindings are initialized at entry to a function, it's impossible
          to ever observe one in an uninitialized state.
      
          To simplify the patch further, it removes the `IMPORT` VariableMode,
          as it's not likely to be needed (IMPORT is identical to CONST for
          the purpose of VariableMode).
      
      R=adamk@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=
      LOG=N
      
      Review URL: https://codereview.chromium.org/1902163003
      
      Cr-Commit-Position: refs/heads/master@{#35635}
      f8844a6e
    • bjaideep's avatar
      PPC: Change calling convention of CallApiGetterStub to accept the AccessorInfo · bef390da
      bjaideep authored
      Port d2b0a4b7
      
      Original commit message:
      
          MIPS port contributed by Balazs Kilvady <balazs.kilvady@imgtec.com>;
      
      R= verwaest@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=
      LOG=N
      
      Review URL: https://codereview.chromium.org/1895193003
      
      Cr-Commit-Position: refs/heads/master@{#35634}
      bef390da
    • mike's avatar
      [modules] Treat top-level functions as lexical · 43fa3e65
      mike authored
      [15.2.1.11 Static Semantics:
      LexicallyDeclaredNames](https://tc39.github.io/ecma262/#sec-module-semantics-static-semantics-lexicallydeclarednames)
      (in contrast with its definition for StatementListItem) makes no
      explicit provision for HoistableDeclarations. This means that function
      declarations are treated as lexically scoped in module code, as
      described in section 15.2.1.11's informative note:
      
      > At the top level of a function, or script, function declarations are
      > treated like var declarations rather than like lexical declarations.
      
      BUG=v8:4884
      LOG=N
      R=adamk@chromium.org
      
      Review URL: https://codereview.chromium.org/1851673007
      
      Cr-Commit-Position: refs/heads/master@{#35633}
      43fa3e65
    • adamk's avatar
      Remove all non-function-name uses of CONST_LEGACY · 59546149
      adamk authored
      Now that all 'const' declarations are of the ES2015 variety, the only
      use of CONST_LEGACY is for function name bindings in sloppy mode
      named function expressions.
      
      This patch aims to delete all code meant to handle other cases, which
      mostly had to do with hole initialization/hole checks. Since function
      name bindings are initialized at entry to a function, it's impossible
      to ever observe one in an uninitialized state.
      
      To simplify the patch further, it removes the `IMPORT` VariableMode,
      as it's not likely to be needed (IMPORT is identical to CONST for
      the purpose of VariableMode).
      
      Review URL: https://codereview.chromium.org/1895973002
      
      Cr-Commit-Position: refs/heads/master@{#35632}
      59546149
    • bjaideep's avatar
      PPC: [Atomics] Remove Atomics code stubs; use TF ops · 697c8741
      bjaideep authored
      Port d412cfa2
      
      Original commit message:
          [Atomics] Remove Atomics code stubs; use TF ops
      
          Reland of (https://codereview.chromium.org/1891033002)
      
          This is a much cleaner solution, which won't require nearly as much
          architecture-specific code. Thanks bmeurer@!
      
      R=binji@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com
      
      BUG=v8:4614
      LOG=N
      
      Review URL: https://codereview.chromium.org/1899033002
      
      Cr-Commit-Position: refs/heads/master@{#35631}
      697c8741
    • yangguo's avatar
      Make global eval faster by lazily computing its call position. · 91e2bf6e
      yangguo authored
      Prior to 89d7bfda we always just collected the code offset and computed the
      source position lazily. However, for local eval we already have the source
      position ready, so we can just store that. For global eval we still have to
      compute from the code offset. This CL changes the computation to be done only
      on demand.
      
      R=mstarzinger@chromium.org
      BUG=chromium:604646
      LOG=N
      
      Review URL: https://codereview.chromium.org/1903463002
      
      Cr-Commit-Position: refs/heads/master@{#35630}
      91e2bf6e
    • ssanfilippo's avatar
      [Interpreter] Report hottest bytecodes in bytecode_dispatches_report.py · 7fa7bfac
      ssanfilippo authored
      In addition to top source-destination pairs,
      bytecode_dispatches_report.py now prints the hottest bytecode handlers
      by the number of times they are executed and dispatch to another one,
      regardless of the dispatch target.
      
      Be aware that this figure does not match the number of times a handler
      is executed for those which may not or will never dispatch, e.g.
      Return or Throw.
      
      BUG=v8:4899
      LOG=N
      
      Review URL: https://codereview.chromium.org/1875263004
      
      Cr-Commit-Position: refs/heads/master@{#35629}
      7fa7bfac