1. 10 Feb, 2016 12 commits
  2. 09 Feb, 2016 21 commits
  3. 08 Feb, 2016 7 commits
    • mbrandy's avatar
      PPC: Fix "[compiler] Remove the special case "prototype" load in class literals." · e0dc2cd5
      mbrandy authored
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1675383002
      
      Cr-Commit-Position: refs/heads/master@{#33831}
      e0dc2cd5
    • mbrandy's avatar
      PPC: [turbofan] Add TruncateFloat32ToUint32 operator to Turbofan. · ceaccc91
      mbrandy authored
      Port 2166bd8c
      
      R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1677213002
      
      Cr-Commit-Position: refs/heads/master@{#33830}
      ceaccc91
    • mbrandy's avatar
      PPC: [runtime] Optimize and unify rest parameters. · 605aced0
      mbrandy authored
      Port 3ef573e9
      
      Original commit message:
          Replace the somewhat awkward RestParamAccessStub, which would always
          call into the runtime anyway with a proper FastNewRestParameterStub,
          which is basically based on the code that was already there for strict
          arguments object materialization. But for rest parameters we could
          optimize even further (leading to 8-10x improvements for functions with
          rest parameters), by fixing the internal formal parameter count:
      
          Every SharedFunctionInfo has a formal_parameter_count field, which
          specifies the number of formal parameters, and is used to decide whether
          we need to create an arguments adaptor frame when calling a function
          (i.e. if there's a mismatch between the actual and expected parameters).
          Previously the formal_parameter_count included the rest parameter, which
          was sort of unfortunate, as that meant that calling a function with only
          the non-rest parameters still required an arguments adaptor (plus some
          other oddities). Now with this CL we fix, so that we do no longer
          include the rest parameter in that count. Thereby checking for rest
          parameters is very efficient, as we only need to check whether there is
          an arguments adaptor frame, and if not create an empty array, otherwise
          check whether the arguments adaptor frame has more parameters than
          specified by the formal_parameter_count.
      
          The FastNewRestParameterStub is written in a way that it can be directly
          used by Ignition as well, and with some tweaks to the TurboFan backends
          and the CodeStubAssembler, we should be able to rewrite it as
          TurboFanCodeStub in the near future.
      
          Drive-by-fix: Refactor and unify the CreateArgumentsType which was
          different in TurboFan and Ignition; now we have a single enum class
          xwhich is used in both TurboFan and Ignition.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=v8:2159
      LOG=n
      
      Review URL: https://codereview.chromium.org/1677223002
      
      Cr-Commit-Position: refs/heads/master@{#33829}
      605aced0
    • binji's avatar
      [wasm] Put the condition last in kExprBrIf. · 7a004a02
      binji authored
      To bring V8 into line with the proposed design changes in:
      
       https://github.com/WebAssembly/design/pull/489
      
      (This CL is forked from https://codereview.chromium.org/1634673002/.
      That CL doesn't merge cleanly, and I can't update it.)
      
      TBR=titzer@chromium.org
      LOG=Y
      BUG=chromium:575167
      
      Review URL: https://codereview.chromium.org/1682443002
      
      Cr-Commit-Position: refs/heads/master@{#33828}
      7a004a02
    • littledan's avatar
      Stage --harmony-species flag, enabling Symbol.species · 43cd128e
      littledan authored
      This patch moves Symbol.species support to the "experimental JavaScript
      features" flag. While @@species is still a performance hit, it doesn't seem
      like it would make the web unusably slow; shipping would still have to
      wait on fixing the performance regression, but staging this version should
      yield valuable web compatibility information.
      
      R=cbruni
      BUG=v8:4093
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1678143002
      
      Cr-Commit-Position: refs/heads/master@{#33827}
      43cd128e
    • littledan's avatar
      Extend subarray web compatibility fix to --harmony-species · e1de522a
      littledan authored
      ES2016 TypedArray subclassing semantics break the Node.js Buffer module,
      also used on the web. I wrote a pull request against the web and Node
      versions to fix the issue, but the pull request has not yet been granted,
      and this is blocking shipping the change. For now, this patch extends the
      web compatibility workaround to the --harmony-species flag, so that
      Symbol.species and associated subclassing semantics can ship independently.
      
      R=cbruni
      BUG=v8:4665
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1678123002
      
      Cr-Commit-Position: refs/heads/master@{#33826}
      e1de522a
    • mbrandy's avatar
      PPC: [turbofan] Add RoundUint32ToFloat32 operator to Turbofan. · 46bf5aa2
      mbrandy authored
      Port 187b3f28
      
      R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      
      Review URL: https://codereview.chromium.org/1680833002
      
      Cr-Commit-Position: refs/heads/master@{#33825}
      46bf5aa2