1. 04 Jul, 2018 35 commits
  2. 03 Jul, 2018 5 commits
    • Alexey Kozyatinskiy's avatar
      Reland "[debug] liveedit in native" · 5505c664
      Alexey Kozyatinskiy authored
      This is a reland of 3dfaf826
      
      Original change's description:
      > [debug] liveedit in native
      >
      > Liveedit step-by-step:
      > 1. calculate diff between old source and new source,
      > 2. map function literals from old source to new source,
      > 3. create new script for new_source,
      > 4. mark literals with changed code as changed, all others as unchanged,
      > 5. check that for changed literals there are no:
      >   - running generators in the heap,
      >   - non droppable frames (e.g. running generator) above them on stack.
      > 6. mark the bottom most frame with changed function as scheduled for
      >    restart if any.
      > 7. for unchanged functions:
      >   - deoptimize,
      >   - remove from cache,
      >   - update source positions,
      >   - move to new script,
      >   - reset feedback information and preparsed scope information if any,
      >   - replace any sfi in constant pool with changed one if any.
      > 8. for changed functions:
      >   - deoptimize
      >   - remove from cache,
      >   - reset feedback information,
      >   - update all links from js functions to old shared with new one.
      > 9. swap scripts.
      >
      > TBR=ulan@chromium.org
      >
      > Bug: v8:7862,v8:5713
      > Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: I8f6f6156318cc82d6f36d7ebc1c9f7d5f3aa1461
      > Reviewed-on: https://chromium-review.googlesource.com/1105493
      > Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#54146}
      
      TBR=dgozman@chromium.org
      
      Bug: v8:7862, v8:5713
      Change-Id: I163ed2fd2ca3115ba0de74cb35a6fac9e40fdd94
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;luci.chromium.try:linux_chromium_rel_ng;master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/1124879
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54187}
      5505c664
    • Clemens Hammacher's avatar
      [Liftoff][arm64] Use wzr/xzr for pushing zero constants · 6406b661
      Clemens Hammacher authored
      This is an optimization to avoid an unneeded "mov <reg>, #0"
      instruction. Instead, we can just directly use the zero register.
      
      R=ahaas@chromium.org
      
      Bug: chromium:854011, v8:6600
      Change-Id: I187d7a659c42d7d4a6d5798eddff8b7ee0983bbc
      Reviewed-on: https://chromium-review.googlesource.com/1124684
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54186}
      6406b661
    • Clemens Hammacher's avatar
      [Liftoff][arm64] Fix i64 constants passed via stack · 720218c2
      Clemens Hammacher authored
      We need to push the sign-extended constant instead of just the lower 32
      bits. Otherwise, the callee might read stale data from the stack.
      
      Bug: chromium:854011, v8:6600
      
      R=ahaas@chromium.org
      CC=rodolph.perfetta@arm.com
      
      Change-Id: Iafcfd6ba9532771615b41215fb4d1a2b85ce5623
      Reviewed-on: https://chromium-review.googlesource.com/1124683Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54185}
      720218c2
    • Clemens Hammacher's avatar
      [wasm] Add regression test for issue 7914 · ca4a8f9e
      Clemens Hammacher authored
      I forgot to add this test to the previous CL:
      https://crrev.com/c/1122409
      
      R=ahaas@chromium.org
      
      Bug: v8:7914
      Change-Id: I4ed3bce37ce1e42a56eabc02647d8cf91e4492c9
      Reviewed-on: https://chromium-review.googlesource.com/1124687Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
      Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54184}
      ca4a8f9e
    • Dan Elphick's avatar
      [explicit isolates] Convert runtime/ to ReadOnlyRoots · 61f174a2
      Dan Elphick authored
      In future the RO_SPACE root accessors in Heap will become private, so
      instead convert them all to use ReadOnlyRoots.
      
      Bug: v8:7786
      Cq-Include-Trybots: luci.v8.try:v8_linux_noi18n_rel_ng
      Change-Id: Ifd2f75298bacd2f6a89c551f689d269a59d87e97
      Reviewed-on: https://chromium-review.googlesource.com/1124470
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54183}
      61f174a2