• gsathya's avatar
    PromiseHandle port to TF · 9fc3c017
    gsathya authored
    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
    
    Review-Url: https://codereview.chromium.org/2572623002
    Cr-Commit-Position: refs/heads/master@{#41683}
    9fc3c017
builtins.h 58.7 KB