1. 16 May, 2017 2 commits
  2. 15 May, 2017 1 commit
  3. 12 May, 2017 2 commits
  4. 11 May, 2017 1 commit
  5. 10 May, 2017 1 commit
    • jgruber's avatar
      [value-serializer] Verify deserialized JSRegExp flags · 540419b6
      jgruber authored
      One of the serializer fuzzers passes in random data to the deserializer,
      which can then be used to deserialize a JSRegExp instance with random flag
      contents. This can cause issues since the JSRegExp::Flag enum statically
      contains kDotAll - but it is only valid to set kDotAll iff
      FLAG_harmony_regexp_dotall is set.
      
      This CL verifies deserialized flags before constructing the JSRegExp
      and bails out if they are invalid.
      
      R=jbroman@chromium.org,yangguo@chromium.org
      BUG=chromium:719280
      
      Review-Url: https://codereview.chromium.org/2870743004
      Cr-Commit-Position: refs/heads/master@{#45222}
      540419b6
  6. 09 May, 2017 2 commits
  7. 08 May, 2017 2 commits
  8. 05 May, 2017 1 commit
  9. 04 May, 2017 2 commits
  10. 03 May, 2017 4 commits
    • mlippautz's avatar
      [heap] MinorMC: Evacuation for young generation · bf74d43d
      mlippautz authored
      In the spirit of the full MC, we evacuate and update pointers in parallel for
      the young generation.
      
      The collectors are connected during incremental marking when mark bits are
      transferred from the young generation bitmap to the old generation bitmap.
      
      The evacuation phase cannot (yet) move pages and relies completely on copying
      objects.
      
      BUG=chromium:651354
      
      Review-Url: https://codereview.chromium.org/2796233003
      Cr-Commit-Position: refs/heads/master@{#45074}
      bf74d43d
    • Clemens Hammacher's avatar
      [wasm] [interpreter] Ignore stack effects after unreachable · 4423c9cc
      Clemens Hammacher authored
      During computation of the side table, ignore stack effects of
      instructions following any unconditional jump in the same block
      (|unreachable|, |br|, |br_table| or |return| jump out of the block).
      Without this fix, the current stack height might underflow, or we compute an
      unnecessarily large max_stack_height_. Note that those instruction will
      never get executed anyway.
      Hence, we don't need to store any side table information for such
      unreachable code.
      
      R=rossberg@chromium.org
      BUG=chromium:716936, chromium:715990
      
      Change-Id: I282f7f18ba1b972a112210e692f6cd05cf32308c
      Reviewed-on: https://chromium-review.googlesource.com/493266Reviewed-by: 's avatarAndreas Rossberg <rossberg@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45059}
      4423c9cc
    • Jochen Eisinger's avatar
      Reland "Make unittest link correctly again" · 668246a1
      Jochen Eisinger authored
      This reverts commit 5db25a09.
      
      Original change's description:
      > Make unittest link correctly again
      >
      > Remains to port these fixes over to gyp.
      >
      > R=machenbach@chromium.org, jkummerow@chromium.org, mstarzinger@chromium.org
      > BUG=v8:6325
      >
      > Change-Id: I3bebbc6d0ec52fcb60e3d51acd27e616f51d3dbb
      > Reviewed-on: https://chromium-review.googlesource.com/490108
      > Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
      > Reviewed-by: Michael Achenbach <machenbach@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45026}
      
      R=jkummerow@chromium.org
      TBR=mstarzinger@chromium.org,clemensh@chromium.org
      BUG=v8:6325
      
      Change-Id: Ic3c0ffdf1f13045ea5a3929b720908e0b27a11c3
      Reviewed-on: https://chromium-review.googlesource.com/494566Reviewed-by: 's avatarJochen Eisinger <jochen@chromium.org>
      Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
      Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45056}
      668246a1
    • Michael Achenbach's avatar
      Revert "Make unittest link correctly again" · 5db25a09
      Michael Achenbach authored
      This reverts commit 0f5ebcca.
      
      Reason for revert: Still blocks rolling:
      https://codereview.chromium.org/2857903002/
      
      Original change's description:
      > Make unittest link correctly again
      > 
      > Remains to port these fixes over to gyp.
      > 
      > R=​machenbach@chromium.org, jkummerow@chromium.org, mstarzinger@chromium.org
      > BUG=v8:6325
      > 
      > Change-Id: I3bebbc6d0ec52fcb60e3d51acd27e616f51d3dbb
      > Reviewed-on: https://chromium-review.googlesource.com/490108
      > Commit-Queue: Jochen Eisinger <jochen@chromium.org>
      > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
      > Reviewed-by: Michael Achenbach <machenbach@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#45026}
      
      TBR=jkummerow@chromium.org,machenbach@chromium.org,mstarzinger@chromium.org,jochen@chromium.org,clemensh@chromium.org
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=v8:6325
      
      Change-Id: Icb11e6e12cb6c7bd6c68677359596fee740b6531
      Reviewed-on: https://chromium-review.googlesource.com/494467Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#45049}
      5db25a09
  11. 02 May, 2017 3 commits
  12. 28 Apr, 2017 2 commits
  13. 27 Apr, 2017 3 commits
  14. 26 Apr, 2017 2 commits
  15. 25 Apr, 2017 3 commits
    • Clemens Hammacher's avatar
      [wasm] Move wasm-macro-gen.h to test/common/wasm · fc6d4a1f
      Clemens Hammacher authored
      This header file is only used from tests.
      Also, move the LoadStoreOpcodeOf method (only used in tests) from
      wasm-opcodes.h to wasm-macro-gen.h.
      
      R=ahaas@chromium.org
      
      Change-Id: I8d4691be494b5c1fbe3084441329850930bad647
      Reviewed-on: https://chromium-review.googlesource.com/486861
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44845}
      fc6d4a1f
    • Clemens Hammacher's avatar
      [wasm] [cleanup] Move LocalDeclEncoder to own compilation unit · e8df147f
      Clemens Hammacher authored
      wasm-macro-gen.h is mainly used from tests, but LocalDeclEncoder is
      also used from various other places.
      This CL moves the LocalDeclEncoder to an own compilation unit. We want
      to later move wasm-macro-gen.h to the tests folder.
      It also refactors the LocalDeclEncoder to reuse the
      LEBHelper::write_u32v and LEBHelper::sizeof_u32v methods instead of
      reimplementing it.
      
      R=ahaas@chromium.org
      
      Change-Id: Ia4651436f0544578da7c1c43596d343571942e97
      Reviewed-on: https://chromium-review.googlesource.com/486724Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44838}
      e8df147f
    • Clemens Hammacher's avatar
      [wasm] [interpreter] Precompute side table for breaks · 92bf8327
      Clemens Hammacher authored
      Instead of dynamically tracking the block nesting, precompute the
      information statically.
      The interpreter was already using a side table to store the pc diff for
      each break, conditional break and others. The information needed to
      adjust the stack was tracked dynamically, however. This CL also
      precomputes this information, as it is statically known.
      Instead of just storing the pc diff in the side table, we now store the
      pc diff, the stack height diff and the arity of the target block.
      
      Local measurements show speedups of 5-6% on average, sometimes >10%.
      
      R=ahaas@chromium.org
      BUG=v8:5822
      
      Change-Id: I986cfa989aabe1488f2ff79ddbfbb28aeffe1452
      Reviewed-on: https://chromium-review.googlesource.com/485482Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44837}
      92bf8327
  16. 24 Apr, 2017 3 commits
  17. 21 Apr, 2017 1 commit
  18. 19 Apr, 2017 1 commit
    • Adam Klein's avatar
      Remove "calls eval" bit from ParseInfo and PreParseData · 9b512732
      Adam Klein authored
      There's no reason to keep track, for a preparsed function itself,
      whether that function calls eval. All that matters is that the ancestor
      scopes are marked as having an inner scope which calls eval. The function
      will have its "calls eval" bit persisted if/when it's fully parsed.
      
      The only "behavioral" change in this patch is the removal of a DCHECK.
      
      Bug: v8:6092
      Change-Id: I17e396c8a265030fe0ad941707e4a97972e6650b
      Reviewed-on: https://chromium-review.googlesource.com/481223
      Commit-Queue: Adam Klein <adamk@chromium.org>
      Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#44732}
      9b512732
  19. 18 Apr, 2017 2 commits
  20. 13 Apr, 2017 1 commit
    • bmeurer's avatar
      [turbofan] Let ChangeFloat64ToTagged canonicalize to Smi if possible. · 385734bf
      bmeurer authored
      When the incoming value to ChangeFloat64ToTagged is in Smi range, we
      represent it as Smi instead of a HeapNumber. This addresses a range of
      problems where TurboFan unnecessarily deoptimizes because an operation
      learned Smi feedback in Ignition, but was then confronted with a tagged
      HeapNumber in TurboFan, just because the value was also represented as
      unboxed double somewhere in the meantime.
      
      BUG=v8:6256
      R=yangguo@chromium.org
      
      Review-Url: https://codereview.chromium.org/2815283002
      Cr-Commit-Position: refs/heads/master@{#44631}
      385734bf
  21. 12 Apr, 2017 1 commit