DescriptionUse JS_ERROR_TYPE to check for error objects.
Replace explicit Object::IsErrorObject() and v8::IsNativeError() with macro generated functions Object::IsJSError() and HeapObject::IsJSError().
BUG=
Committed: https://crrev.com/90e4fd136387ca7271d8ea87f4fc667e4f55063b
Cr-Commit-Position: refs/heads/master@{#37244}
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel
Committed: https://crrev.com/a2dad04f9c0931f8c120cc6457de862866297897
Cr-Commit-Position: refs/heads/master@{#37279}
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 2
Patch Set 3 : Simplify IsNativeError() #Patch Set 4 : Rebase + rename variable #
Total comments: 2
Patch Set 5 : Refactor IsErrorObject() #
Total comments: 1
Patch Set 6 : IsErrorObject() does not need to be static #Patch Set 7 : Do not use auto in short definition #Patch Set 8 : Move IsErrorObject() to the other Is...() definitions #Patch Set 9 : Use TYPE_CHECKER for HeapObject::IsJSError() #Patch Set 10 : Rebase #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 32 (15 generated)
|