[factory] Dehandlify object initializers in factory
Clang cannot optimise across handle derefs and produces quite inefficient code when setting multiple properties in a row. We are already dealing with a lot of raw pointers in factory, thus adding further DisallowGarbageCollection and will not significantly increase the risk of stale pointers. Bug: v8:11263 Change-Id: I2b62f79ecde95faa84a182c09d89c03423900d98 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2581963 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#73127}
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment