Use ordinary objects for Error prototypes

This commit is contained in:
janekptacijarabaci 2018-03-17 16:56:31 +01:00 committed by Roy Tam
commit 105cbadae7
4 changed files with 161 additions and 91 deletions

View file

@ -650,7 +650,8 @@ typedef enum JSExnType {
JSEXN_DEBUGGEEWOULDRUN,
JSEXN_WASMCOMPILEERROR,
JSEXN_WASMRUNTIMEERROR,
JSEXN_WARN,
JSEXN_ERROR_LIMIT,
JSEXN_WARN = JSEXN_ERROR_LIMIT,
JSEXN_LIMIT
} JSExnType;