Changeset 440 for trunk/JavaScriptCore/kjs/ErrorPrototype.cpp
- Timestamp:
- 08/18/08 11:14:49 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/kjs/ErrorPrototype.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/kjs/ErrorPrototype.cpp
r381 r440 30 30 namespace KJS { 31 31 32 ASSERT_CLASS_FITS_IN_CELL(ErrorPrototype); 33 32 34 static JSValue* errorProtoFuncToString(ExecState*, JSObject*, JSValue*, const ArgList&); 33 35 … … 41 43 putDirect(exec->propertyNames().message, jsString(exec, "Unknown error"), DontEnum); 42 44 43 putDirectFunction( new (exec) PrototypeFunction(exec, functionPrototype, 0, exec->propertyNames().toString, errorProtoFuncToString), DontEnum);45 putDirectFunction(exec, new (exec) PrototypeFunction(exec, functionPrototype, 0, exec->propertyNames().toString, errorProtoFuncToString), DontEnum); 44 46 } 45 47
