1. 27 Jul, 2017 34 commits
  2. 26 Jul, 2017 6 commits
    • Jaideep Bajwa's avatar
      PPC/s390: [builtins] Introduce ConstructProxy builtin based on CSA · 1af12c3c
      Jaideep Bajwa authored
      Port fe046627
      Port d594a6d9
      Port 53553f5d
      
      R=mslekova@google.com, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: I2c160f8e3a1c3a809de6a6631864104ed95900d7
      Reviewed-on: https://chromium-review.googlesource.com/587610Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
      Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#46914}
      1af12c3c
    • Alexei Filippov's avatar
      [heap-profiler] Fix reporting of fake global objects. · 92732265
      Alexei Filippov authored
      The global objects lookup code mistakingly reports weakly referenced
      JSGlobalObject's as normal one. It should not.
      
      The fix just adds is_weak check into V8HeapExplorer::SetGcSubrootReference
      the rest is formatting.
      
      Bug: chromium:747382
      Change-Id: I3fc62317dd3d8728d261f27bd58654aff13eb6fe
      Reviewed-on: https://chromium-review.googlesource.com/585385Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Commit-Queue: Alexei Filippov <alph@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46913}
      92732265
    • Jaideep Bajwa's avatar
      PPC/s390: [builtins] Introduce CallProxy builtin based on CSA · c28d39f0
      Jaideep Bajwa authored
      Port 7f50476b
      Port 1769f892
      
      Original Commit Message:
      
          - Add more conformance tests for proxy call and calling undetectable
          - This improves the performance of calling a proxy by ~5x
      
      R=mslekova@google.com, adamk@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: If5e66093aee815225053c1d3d2a99cfac270aea4
      Reviewed-on: https://chromium-review.googlesource.com/587228Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
      Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#46912}
      c28d39f0
    • Georg Neis's avatar
      [modules] Fix mapping of internal status to external status. · e0174631
      Georg Neis authored
      Internally, the module status type has one additional value, namely
      PreInstantiating. I previously mapped this to Instantiating when
      crossing the API boundary but it really should be mapped to
      Uninstantiated. That's because when instantiation fails, typically all
      modules not yet visited will remain in the PreInstantiating state, yet
      they must appear Uninstantiated to the outside.
      
      A relevant test will be added to chromium shortly.
      
      Bug: v8:1569, chromium:748544
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Icb33c7f90db5e62375b6c09d14e3d2d5342b0879
      Reviewed-on: https://chromium-review.googlesource.com/586602Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Commit-Queue: Georg Neis <neis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46911}
      e0174631
    • Sathya Gunasekaran's avatar
      [tests] Async test framework · 61ed6a00
      Sathya Gunasekaran authored
      - No need for multiple assertAsyncRan() calls, just do t.plan(count)
      
      - Previously, if you forget to call assertAsyncRan(), the test will still
        pass, which is no longer true.
      
      - No longer hold global state (with
        asyncAssertsExpected). Previously if one assert wasn't hit then
        there's no way to find out which test failed. You'd have to
        comment each test and try again.
      
      - Each test runs independently in the microtask queue.
      
      - Better failure reporting by printing the entire function.
      
      Example error :
      === mjsunit/harmony/promise-prototype-finally ===
      abort: Expected asserts: 2, Actual asserts: 1
      in test: reject/finally/then
      assert => {
        assert.plan(2);
        Promise.reject(3).finally().then(
          assert.unreachable,
          x => {
            assert.equals(3, x);
          });
      }
      
      
      Change-Id: Ic3f6272e1e87b8b0121b8c8c7cce19cf90d1f1be
      Reviewed-on: https://chromium-review.googlesource.com/455555
      Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarDaniel Ehrenberg <littledan@chromium.org>
      Reviewed-by: 's avatarCaitlin Potter <caitp@igalia.com>
      Cr-Commit-Position: refs/heads/master@{#46910}
      61ed6a00
    • Jaideep Bajwa's avatar
      PPC/s390: [turbofan] Widen the fast-path for JSCreateArray. · 00a8ab2e
      Jaideep Bajwa authored
      Port 1edb46cc
      
      Original Commit Message:
      
          This improves the general Array constructor call performance (w/o
          usable AllocationSite feedback) in TurboFan by ~2x, i.e. for example
          invoking the Array constructor like this
      
            var a = Array.call(undefined, n);
      
          instead of
      
            var a = Array(n);
      
          such that the CallIC doesn't know that it's eventually calling the
          Array constructor.
      
          It also thus changes the single argument Array constructor to always
          return holey arrays. Previously the single argument case for the Array
          constructor was somehow trying to dynamically detect 0 and in that case
          returned a packed array instead of a holey one. That adds quite a lot
          of churn, and doesn't seem to be very useful, especially since this
          might lead to unnecessary feedback pollution later.
      
      R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
      BUG=
      LOG=N
      
      Change-Id: I6a50ae016556ed38a7d7ca5546b575ca25e91b4a
      Reviewed-on: https://chromium-review.googlesource.com/586641Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
      Commit-Queue: Jaideep Bajwa <bjaideep@ca.ibm.com>
      Cr-Commit-Position: refs/heads/master@{#46909}
      00a8ab2e