1. 23 Sep, 2020 1 commit
    • Leszek Swirski's avatar
      [handles] Add a PatchValue method for Handle · ba088da2
      Leszek Swirski authored
      We currently have a pattern of setting a dereferenced Handle location to
      update that Handle's value:
      
        *handle.location() = new_value.ptr()
      
      This is slightly opaque, and definitely not type-safe, so add a new
      Handle<T>::PatchValue method which does this operation.
      
      Ideally we would make Handle::location() return a const pointer to
      discourage this sort of use, but there's a bunch of places where that
      location pointer is used and passed around as a Handle surrogate, so
      those would have to be updated first.
      
      Change-Id: I157f7e2473ed1b86f7a93cae260b0932fed0ad88
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2424249
      Commit-Queue: Leszek Swirski <leszeks@chromium.org>
      Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Auto-Submit: Leszek Swirski <leszeks@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70088}
      ba088da2
  2. 24 May, 2019 1 commit
  3. 23 May, 2019 3 commits
  4. 14 Dec, 2018 1 commit
  5. 31 Oct, 2018 3 commits
  6. 29 Oct, 2018 1 commit
  7. 12 Oct, 2018 1 commit
  8. 12 Sep, 2018 1 commit
  9. 10 Jul, 2017 1 commit
  10. 22 Jun, 2017 1 commit
  11. 19 Jun, 2017 1 commit
  12. 29 May, 2017 1 commit
  13. 18 Aug, 2016 1 commit
  14. 26 Nov, 2015 1 commit
  15. 26 Oct, 2015 3 commits
  16. 30 Sep, 2015 1 commit
  17. 20 Apr, 2015 1 commit
  18. 04 Aug, 2014 1 commit
  19. 03 Jun, 2014 1 commit
  20. 09 May, 2014 1 commit
  21. 29 Apr, 2014 1 commit
  22. 27 Nov, 2013 1 commit
  23. 25 Nov, 2013 1 commit
  24. 16 Oct, 2013 1 commit
  25. 15 Oct, 2013 2 commits