DescriptionPromiseHandle port to TF
Splits PromiseHandle into two TF builtins to account for catch
prediction. An exception in PromiseHandleReject builtin results in a
"caught" prediction whereas an expception in PromiseHandle results in a
"promise rejection" prediction.
An extra is_exception_caught bit is added to Code to mark this catch
prediction behavior.
BUG=v8:5343
Committed: https://crrev.com/9fc3c017e112276fc7709d02b6af620cbe6f69d3
Cr-Commit-Position: refs/heads/master@{#41683}
Patch Set 1 #Patch Set 2 : use internal promise resolve #Patch Set 3 : fix custom handler #Patch Set 4 : remove unused var #Patch Set 5 : split into two builtins #Patch Set 6 : add exception_caught to Code #Patch Set 7 : create TFS #
Total comments: 1
Patch Set 8 : use descriptor #Patch Set 9 : fix ordering #
Total comments: 14
Patch Set 10 : add comments #Patch Set 11 : Address comments #
Messages
Total messages: 55 (41 generated)
|