1. 19 Jan, 2016 3 commits
  2. 18 Jan, 2016 29 commits
  3. 17 Jan, 2016 1 commit
  4. 16 Jan, 2016 3 commits
    • ahaas's avatar
      [turbofan] Add the RoundInt32ToFloat32 operator to turbofan. · e06f7d78
      ahaas authored
      The new operator converts an int32 input to float32. If the input cannot
      be represented exactly in float32, the value is rounded using the
      round-ties-even rounding mode (the default rounding mode).
      
      I provide implementations of the new operator for x64, ia32, arm, arm64,
      mips, mips64, ppc, and ppc64.
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com, v8-ppc-ports@googlegroups.com
      
      Review URL: https://codereview.chromium.org/1589363002
      
      Cr-Commit-Position: refs/heads/master@{#33347}
      e06f7d78
    • ahaas's avatar
      [turbofan] Add the TruncateFloat32ToInt32 operator to turbofan. · fc53eed1
      ahaas authored
      The new operator converts a float32 input to int32 through truncation.
      I provide implementations of the new operator for x64, ia32, arm,
      arm64, mips, mips64, and x87. @v8-ppc-ports, can you please take care
      of the ppc implementation?
      
      R=titzer@chromium.org, v8-arm-ports@googlegroups.com, v8-mips-ports@googlegroups.com, weiliang.lin@intel.com
      
      Review URL: https://codereview.chromium.org/1583323004
      
      Cr-Commit-Position: refs/heads/master@{#33346}
      fc53eed1
    • adamk's avatar
      [ast cleanup] Remove unnecessary frozen_ bit from ModuleDescriptor · dc6a5939
      adamk authored
      This may have made more sense in the old module design (where
      "unification" was a thing), but as-is it's only used for a few
      asserts in debug mode. These asserts don't make much sense inside
      ModuleDescriptor; instead, as the modules implementation is fleshed
      out, I expect the appropriate replacement asserts to show up at the
      use of the ModuleDescriptor.
      
      Review URL: https://codereview.chromium.org/1598433006
      
      Cr-Commit-Position: refs/heads/master@{#33345}
      dc6a5939
  5. 15 Jan, 2016 4 commits
    • adamk's avatar
      [modules] Support parsing anonymous default exports · 25532be5
      adamk authored
      This includes anonymous Function, Generator, and Class declarations when
      preceded by 'export default'. Parsing only at the moment, nothing useful is
      done with the parsed Function/ClassLiteral.
      
      BUG=v8:1569
      LOG=n
      
      Review URL: https://codereview.chromium.org/1589173002
      
      Cr-Commit-Position: refs/heads/master@{#33344}
      25532be5
    • mbrandy's avatar
      PPC: Fix simulator. · b099e861
      mbrandy authored
      R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1590423002
      
      Cr-Commit-Position: refs/heads/master@{#33343}
      b099e861
    • mbrandy's avatar
      PPC: [Interpreter] Add ForInPrepare runtime function which returns a ObjectTriple. · b2c246e0
      mbrandy authored
      Port 84f8a506
      
      Original commit message:
          Adds a ForInPrepare Runtime function which returns a triple of
          cache_type, cache_array and cache_length.
      
          This requires adding support to CEntryStub to call runtime functions
          which return a ObjectTriple - a struct containing three Object*
          pointers. Also did some cleanup of the x64 CEntryStub to avoid
          replicated code.
      
          Replaces the interpreter's use of the ad-hock InterpreterForInPrepare
          Runtime function with ForInPrepare in preparation for fixing deopt in
          BytecodeGraphBuilder for ForIn (which will be done in a followup CL).
      
      R=rmcilroy@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:4280
      LOG=N
      
      Review URL: https://codereview.chromium.org/1586153004
      
      Cr-Commit-Position: refs/heads/master@{#33342}
      b2c246e0
    • mbrandy's avatar
      PPC: [runtime] Throw exception for derived constructors in correct context. · bbb95fba
      mbrandy authored
      Port c86f1897
      
      Original commit message:
          When derived constructors return a non-object (or not undefined) we
          currently throw an exception directly in the callee context. This was
          achieved by desugaring the return statement for derived classes. To
          be spec compliamnt a separate ConstructStubForDerived is introduced.
          Instead of trowing directly, the desugared return statement inside
          a derived constructor only returns an integer to indicate an incompatible
          result.
      
      R=cbruni@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:4509
      LOG=n
      
      Review URL: https://codereview.chromium.org/1595593002
      
      Cr-Commit-Position: refs/heads/master@{#33341}
      bbb95fba