1. 21 Sep, 2018 2 commits
    • Sam Clegg's avatar
      Export `mjsunit.formatFailureText` which is needed by `test-async.js` · 29685537
      Sam Clegg authored
      Without this the call to `formatFailureText` in `test-async.js`
      fails but goes unnoticed since the promise change is rejects
      which is not handled.  And d8 silently ignores the the unhandled
      rejections.
      
      Once `formatFailureText` was added it reveals a but where several
      tests were expecting `.equal` to be a deepEquals.  Specifically:
      
      test/mjsunit/es6/promise-all.js
      test/mjsunit/harmony/async-generators-resume-return.js
      test/mjsunit/harmony/async-generators-return.js
      test/mjsunit/harmony/async-generators-yield.js
      
      Making equals call `deepEquals` fixed that issue.
      
      Change-Id: I350c7d916147eaa7cf873bdaf273aebbaaa833c5
      Reviewed-on: https://chromium-review.googlesource.com/1236852
      Commit-Queue: Sam Clegg <sbc@chromium.org>
      Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56107}
      29685537
    • Jakob Kummerow's avatar
      Fix building with GCC 7.x and 8.x · 9ed4b965
      Jakob Kummerow authored
      GCC 7.x doesn't like it (-Werror=subobject-linkage) when a class
      either derives from a class or has a member field of a type that
      was declared in an anonymous namespace.
      It is also opposed (-Werror=attributes) to visibility attributes
      being defined at explicit template instantiations.
      GCC 8.x further has reservations (-Werror=class-memaccess) about
      letting memset/memcpy modify areas within non-POD objects.
      
      Change-Id: Ic5107bb5ee3af6233e3741e3ef78d03a0a84005a
      Reviewed-on: https://chromium-review.googlesource.com/1208306
      Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
      Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56106}
      9ed4b965
  2. 20 Sep, 2018 38 commits