[JSC] Make OutOfMemory error as instance of RangeError
Created attachment 399471 [details] Patch WIP
Created attachment 399472 [details] Patch WIP
Created attachment 399495 [details] Patch
Created attachment 399497 [details] Patch
Nice. Does this have any test262 impact?
Created attachment 399536 [details] Patch
(In reply to Ross Kirsling from comment #5) > Nice. Does this have any test262 impact? Looks like no impact.
Comment on attachment 399536 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399536&action=review r=me > Source/JavaScriptCore/runtime/ErrorType.h:54 > +#define COUNT_ERROR_TYPES(name) 1 + > +static constexpr unsigned NumberOfErrorType { > + JSC_ERROR_TYPES(COUNT_ERROR_TYPES) 0 Nice. I never thought of doing it this way to do the counting.
Committed r261780: <https://trac.webkit.org/changeset/261780> All reviewed patches have been landed. Closing bug and clearing flags on attachment 399536 [details].
<rdar://problem/63302744>