Generate correct bytecode for calls of optional chains
The receiver may be undefined when calling optionally chained properties, so CallAnyReceiver should be used instead of CallProperty. TBR=rmcilroy@chromium.org Bug: chromium:1038178 Change-Id: Id91f2ecda1a5b38f6d1c9a6b6f90c0ae7dcbe638 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1986205 Commit-Queue: Shu-yu Guo <syg@chromium.org> Reviewed-by: Tobias Tebbi <tebbi@chromium.org> Cr-Commit-Position: refs/heads/master@{#65580}
Showing
Please
register
or
sign in
to comment