[compiler] Simplify JSHeapBroker::TryGetOrCreateData uses
Make the crash_on_error parameter false by default, so that the typical use is easier to read: Use GetOrCreateData(obj) if you expect the object to be known already. Use TryGetOrCreateData(obj) if you don't. Bug: v8:7790 Change-Id: I5732ad13ec582c2a1112032f88be54c833906a6a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2658327 Auto-Submit: Georg Neis <neis@chromium.org> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org> Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Cr-Commit-Position: refs/heads/master@{#72461}
Showing
Please
register
or
sign in
to comment