]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/StringRecursionChecker.cpp
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / runtime / StringRecursionChecker.cpp
index 22b7367bccc8b61040fa941265c29c392da5133b..638310787d3da1a06bb4840e3cc786fb84a2458f 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- *  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
  *
  *  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 "Error.h"
 #include "ExceptionHelpers.h"
+#include "JSCInlines.h"
 
 namespace JSC {
 
 JSValue StringRecursionChecker::throwStackOverflowError()
 {
 
 namespace JSC {
 
 JSValue StringRecursionChecker::throwStackOverflowError()
 {
-    return throwError(m_exec, createStackOverflowError(m_exec));
+    return JSC::throwStackOverflowError(m_exec);
 }
 
 JSValue StringRecursionChecker::emptyString()
 }
 
 JSValue StringRecursionChecker::emptyString()