Ignore:
Timestamp:
May 23, 2008, 7:23:23 AM (17 years ago)
Author:
[email protected]
Message:

SQUIRRELFISH: JavaScript error messages are missing informative text

Reviewed by Anders

Partial fix.
Tidy up error messages, makes a couple of them provide slightly more info.
Inexplicably leads to a 1% SunSpider Progression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/ExceptionHelpers.h

    r33979 r34075  
    3636    JSValue* createStackOverflowError(ExecState*);
    3737    JSValue* createUndefinedVariableError(ExecState*, const Identifier&);
    38     JSValue* createNotAnObjectError(ExecState*, JSValue*, Node*);
     38    JSValue* createInvalidParamError(ExecState*, const char* op, JSValue*);
    3939    JSValue* createNotAConstructorError(ExecState* exec, JSValue* value, Node* expr);
    4040    JSValue* createNotAFunctionError(ExecState* exec, JSValue* value, Node* expr);
Note: See TracChangeset for help on using the changeset viewer.