1. 19 Jul, 2017 4 commits
  2. 18 Jul, 2017 4 commits
  3. 17 Jul, 2017 4 commits
  4. 14 Jul, 2017 8 commits
  5. 13 Jul, 2017 13 commits
  6. 12 Jul, 2017 7 commits
    • Sathya Gunasekaran's avatar
      [d8] Fix stack overflow when importing modules · ea632716
      Sathya Gunasekaran authored
      Bug: chromium:740694
      Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
      Change-Id: Ib23bca1942c25d8a9f32e12be3f7b50fc3ab55c8
      Reviewed-on: https://chromium-review.googlesource.com/568222
      Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
      Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46611}
      ea632716
    • Adam Klein's avatar
      [scope] Null out rare_data_ when aborting preparsing · b56c0f7a
      Adam Klein authored
      When we abort preparsing, we have to reset the Scope state, to ensure
      re-parsing will leave us in the proper Zone. Resetting of rare_data_
      was missing, causing this to fail in some cases.
      
      Bug: chromium:740803
      Change-Id: I7ce70f9c4670eaf1b76745ae8231eb95625b0f4b
      Reviewed-on: https://chromium-review.googlesource.com/568784Reviewed-by: 's avatarCaitlin Potter <caitp@igalia.com>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46607}
      b56c0f7a
    • Camillo Bruni's avatar
      [literals] Disable double lazy boilerplate for literals containing Arrays · 36421dc4
      Camillo Bruni authored
      By creating the boilerplate only on the second instantiation we cannot
      propagate back the elements transitions early enough. The resulting literals
      would change the initial ElementsKind one step too late and already pollute
      ICs that went to monomorphic state.
      
      - Disable lazy AllocationSites for literals containing arrays
      - Introduce new ComplexLiteral class to share code between ObjectLiteral
        and ArrayLiteral
      - RegexpLiteral now no longer needs a depth_ field
      
      Bug: v8:6517, v8:6519, v8:6211
      Change-Id: Ia88d1878954e8895c3d00a7dda8d71e95bba005c
      Reviewed-on: https://chromium-review.googlesource.com/563305Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46603}
      36421dc4
    • Camillo Bruni's avatar
      Reland "[mjsunit] Improve mjsunit stracktrace readability" · 34874b3b
      Camillo Bruni authored
      This is a reland of f720d024
      Original change's description:
      > [mjsunit] Improve mjsunit stracktrace readability
      > 
      > Format the function name and file-position into proper columns to easily spot
      > where the test code ends and the mjsunit framework code starts.
      > 
      > BEFORE:
      > Stack: Error
      >     at new MjsUnitAssertionError (test/mjsunit/mjsunit.js:36:18)
      >     at failWithMessage (test/mjsunit/mjsunit.js:310:11)
      >     at fail (test/mjsunit/mjsunit.js:327:12)
      >     at assertEquals (test/mjsunit/mjsunit.js:398:7)
      >     at closure (test/mjsunit/regress/regress-4121.js:20:7)
      >     at literals_sharing_test (test/mjsunit/regress/regress-4121.js:27:3)
      >     at test (test/mjsunit/regress/regress-4121.js:37:5)
      >     at eval (eval at <anonymous> (test/mjsunit/regress/regress-4121.js:49:6), <anonymous>:1:1)
      >     at test/mjsunit/regress/regress-4121.js:49:6
      >     at Array.forEach.call (test/mjsunit/regress/regress-4121.js:50:7)
      >     throw new MjsUnitAssertionError(message);
      > 
      > AFTER:
      > Stack: MjsUnitAssertionError
      >     at assertEquals          test/mjsunit/mjsunit.js 398:7
      >     at closure               test/mjsunit/regress/regress-4121.js 20:7
      >     at literals_sharing_test test/mjsunit/regress/regress-4121.js 27:3
      >     at test                  test/mjsunit/regress/regress-4121.js 37:5
      >     at eval                  eval at <anonymous> (test/mjsunit/regress/regress-4121.js:49:6)
      >     at                       test/mjsunit/regress/regress-4121.js 49:6
      >     at Array.forEach.call    test/mjsunit/regress/regress-4121.js 50:7
      >     throw new MjsUnitAssertionError(message);
      > 
      > 
      > Change-Id: Iad3460a648e26effb43c00426ab043743ee6a138
      > Reviewed-on: https://chromium-review.googlesource.com/563627
      > Reviewed-by: Michael Achenbach <machenbach@chromium.org>
      > Reviewed-by: Igor Sheludko <ishell@chromium.org>
      > Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#46589}
      
      Change-Id: I44bf07f7be4114369315605542cafd17345b4397
      Reviewed-on: https://chromium-review.googlesource.com/567063Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46602}
      34874b3b
    • Adam Klein's avatar
      Propagate exceptions from JSFunction::SetName as needed · 873d5167
      Adam Klein authored
      JSFunction::SetName can fail if it tries to create a string with
      length > String::kMaxLength (either by prepending "set "/"get " or
      by surrounding a Symbol descriptor with "["/"]").
      
      This patch propagates that exception to the surrounding code rather
      than CHECK-failing.
      
      Bug: chromium:740398
      Change-Id: I394943af481f3147387dd82ec5862d7071d57827
      Reviewed-on: https://chromium-review.googlesource.com/566092Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
      Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46601}
      873d5167
    • Georg Neis's avatar
      Revert "[mjsunit] Improve mjsunit stracktrace readability" · c86ad81b
      Georg Neis authored
      This reverts commit f720d024.
      
      Reason for revert: Bot failure at
      https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20-%20custom%20snapshot%20-%20debug/builds/15690
      
      Original change's description:
      > [mjsunit] Improve mjsunit stracktrace readability
      > 
      > Format the function name and file-position into proper columns to easily spot
      > where the test code ends and the mjsunit framework code starts.
      > 
      > BEFORE:
      > Stack: Error
      >     at new MjsUnitAssertionError (test/mjsunit/mjsunit.js:36:18)
      >     at failWithMessage (test/mjsunit/mjsunit.js:310:11)
      >     at fail (test/mjsunit/mjsunit.js:327:12)
      >     at assertEquals (test/mjsunit/mjsunit.js:398:7)
      >     at closure (test/mjsunit/regress/regress-4121.js:20:7)
      >     at literals_sharing_test (test/mjsunit/regress/regress-4121.js:27:3)
      >     at test (test/mjsunit/regress/regress-4121.js:37:5)
      >     at eval (eval at <anonymous> (test/mjsunit/regress/regress-4121.js:49:6), <anonymous>:1:1)
      >     at test/mjsunit/regress/regress-4121.js:49:6
      >     at Array.forEach.call (test/mjsunit/regress/regress-4121.js:50:7)
      >     throw new MjsUnitAssertionError(message);
      > 
      > AFTER:
      > Stack: MjsUnitAssertionError
      >     at assertEquals          test/mjsunit/mjsunit.js 398:7
      >     at closure               test/mjsunit/regress/regress-4121.js 20:7
      >     at literals_sharing_test test/mjsunit/regress/regress-4121.js 27:3
      >     at test                  test/mjsunit/regress/regress-4121.js 37:5
      >     at eval                  eval at <anonymous> (test/mjsunit/regress/regress-4121.js:49:6)
      >     at                       test/mjsunit/regress/regress-4121.js 49:6
      >     at Array.forEach.call    test/mjsunit/regress/regress-4121.js 50:7
      >     throw new MjsUnitAssertionError(message);
      > 
      > 
      > Change-Id: Iad3460a648e26effb43c00426ab043743ee6a138
      > Reviewed-on: https://chromium-review.googlesource.com/563627
      > Reviewed-by: Michael Achenbach <machenbach@chromium.org>
      > Reviewed-by: Igor Sheludko <ishell@chromium.org>
      > Commit-Queue: Camillo Bruni <cbruni@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#46589}
      
      TBR=machenbach@chromium.org,cbruni@chromium.org,ishell@chromium.org
      
      Change-Id: I631cec7f318637ce2f60500e2bf0ab7fe1f6d09e
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Reviewed-on: https://chromium-review.googlesource.com/567062Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Commit-Queue: Georg Neis <neis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46592}
      c86ad81b
    • jgruber's avatar
      [coverage] Move source ranges out of AST · 645a1ea5
      jgruber authored
      This CL moves collected source range information out of AST nodes
      and into a side table stored on ParseInfo. The side table is only 
      created if block coverage is enabled, so there's almost no memory
      overhead in the standard case.
      
      Change-Id: I41871b8425ebbc6217d82d3ad26b5fc9e5d68ecb
      Reviewed-on: https://chromium-review.googlesource.com/566808
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#46590}
      645a1ea5