X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/f9bf01c6616d5ddcf65b13b33cedf9e387ff7a63..b80e619319b1def83d1e8b4f84042b661be1be7f:/runtime/Error.cpp diff --git a/runtime/Error.cpp b/runtime/Error.cpp index ddd4bc4..69464b7 100644 --- a/runtime/Error.cpp +++ b/runtime/Error.cpp @@ -94,7 +94,7 @@ JSObject* Error::create(ExecState* exec, ErrorType type, const UString& message, JSObject* Error::create(ExecState* exec, ErrorType type, const char* message) { - return create(exec, type, message, -1, -1, NULL); + return create(exec, type, message, -1, -1, UString()); } JSObject* throwError(ExecState* exec, JSObject* error) @@ -105,21 +105,21 @@ JSObject* throwError(ExecState* exec, JSObject* error) JSObject* throwError(ExecState* exec, ErrorType type) { - JSObject* error = Error::create(exec, type, UString(), -1, -1, NULL); + JSObject* error = Error::create(exec, type, UString(), -1, -1, UString()); exec->setException(error); return error; } JSObject* throwError(ExecState* exec, ErrorType type, const UString& message) { - JSObject* error = Error::create(exec, type, message, -1, -1, NULL); + JSObject* error = Error::create(exec, type, message, -1, -1, UString()); exec->setException(error); return error; } JSObject* throwError(ExecState* exec, ErrorType type, const char* message) { - JSObject* error = Error::create(exec, type, message, -1, -1, NULL); + JSObject* error = Error::create(exec, type, message, -1, -1, UString()); exec->setException(error); return error; }