X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/14957cd040308e3eeec43d26bae5d76da13fcd85..6fe7ccc865dc7d7541b93c5bcaf6368d2c98a174:/runtime/StringRecursionChecker.cpp?ds=inline diff --git a/runtime/StringRecursionChecker.cpp b/runtime/StringRecursionChecker.cpp index 4e74735..22b7367 100644 --- a/runtime/StringRecursionChecker.cpp +++ b/runtime/StringRecursionChecker.cpp @@ -25,14 +25,14 @@ namespace JSC { -EncodedJSValue StringRecursionChecker::throwStackOverflowError() +JSValue StringRecursionChecker::throwStackOverflowError() { - return throwVMError(m_exec, createStackOverflowError(m_exec)); + return throwError(m_exec, createStackOverflowError(m_exec)); } -EncodedJSValue StringRecursionChecker::emptyString() +JSValue StringRecursionChecker::emptyString() { - return JSValue::encode(jsEmptyString(m_exec)); + return jsEmptyString(m_exec); } }