1. 08 Jun, 2018 4 commits
  2. 07 Jun, 2018 32 commits
  3. 06 Jun, 2018 4 commits
    • Dan Elphick's avatar
      [explicit isolates] Eliminate most GetIsolates from heap/ · 93d757a0
      Dan Elphick authored
      Removes most explicit calls to GetIsolate/GetHeap from heap/ and implicit
      calls via the single argument Handle constructor and handle function by
      passing it in through calling functions.
      
      (One GetHeap remains in FreeList in heap/spaces.cc for now).
      
      Bug: v8:7786
      Change-Id: I14fd099d26f94b9afbcfad41aa873c8f843297dd
      Reviewed-on: https://chromium-review.googlesource.com/1087002Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53565}
      93d757a0
    • Dan Elphick's avatar
      [explicit isolates] Eliminate Handle<T>(T*) from api.cc · 352f8009
      Dan Elphick authored
      Explicitly pass Isolate* to the Handle constructor even if it means
      calling GetIsolate. (Shortly, I want to remove that constructor
      completely since its an invisible source of implicit GetIsolates).
      
      Bug: v8:7786
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Change-Id: I3454e8c92e12bf5c5eb1d4e2018dff7c42949d26
      Reviewed-on: https://chromium-review.googlesource.com/1089058
      Commit-Queue: Dan Elphick <delphick@chromium.org>
      Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53564}
      352f8009
    • Leszek Swirski's avatar
      [GetIsolate] Remove GetIsolate from SET_FIELD_WRAPPED · 5dd02cc5
      Leszek Swirski authored
      Bug: v8:7786
      
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Change-Id: I16961e0943f19e8120a340d8bcd8eeb51f78b79e
      Reviewed-on: https://chromium-review.googlesource.com/1089010
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53563}
      5dd02cc5
    • Daniel Clifford's avatar
      [torque] Implement parameter overloading in generics · 06f2a5c2
      Daniel Clifford authored
      This allows redifinitions of generics with the same name but differing parameter
      type lists, e.g.
      
        macro coerce<Dest: type>(from: HeapObject): Dest;
        coerce<int32>(from: HeapObject): int32 {...}
        macro coerce<Dest: type>(from: Smi): Dest;
        coerce<int32>(from: Smi): int32 {...}
      
      In order to allow multiple overloads of generic macros with the same name,
      a more nuanced lookup of calls has been implemented using the
      ParameterDifference utility class. There is still work to be done to unify
      when ParameterDifference is used for lookup (e.g. removing it from operator
      lookup when operators become simple aliases for macro names), but that work
      will be done in a separate CL.
      
      As part of this CL, the custom handling of "cast<>" operator in the .g4
      grammar has been removed and replaced by a handful of equivalent overloads of
      a generic "cast" macro.
      
      Bug: v8:7793
      Change-Id: Ibb2cdd3d58632b7f7f7ba683499f9688ae07f4f8
      Reviewed-on: https://chromium-review.googlesource.com/1087873
      Commit-Queue: Daniel Clifford <danno@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#53562}
      06f2a5c2