/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2011, 2012 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#include "Error.h"
#include "ExceptionHelpers.h"
+#include "JSCInlines.h"
namespace JSC {
-EncodedJSValue StringRecursionChecker::throwStackOverflowError()
+JSValue StringRecursionChecker::throwStackOverflowError()
{
- return throwVMError(m_exec, createStackOverflowError(m_exec));
+ return JSC::throwStackOverflowError(m_exec);
}
-EncodedJSValue StringRecursionChecker::emptyString()
+JSValue StringRecursionChecker::emptyString()
{
- return JSValue::encode(jsEmptyString(m_exec));
+ return jsEmptyString(m_exec);
}
}