summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/Error.cpp')
-rw-r--r--JavaScriptCore/runtime/Error.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/JavaScriptCore/runtime/Error.cpp b/JavaScriptCore/runtime/Error.cpp
index 5e21c8e..db1d8cc 100644
--- a/JavaScriptCore/runtime/Error.cpp
+++ b/JavaScriptCore/runtime/Error.cpp
@@ -26,6 +26,7 @@
#include "ConstructData.h"
#include "ErrorConstructor.h"
+#include "JSFunction.h"
#include "JSGlobalObject.h"
#include "JSObject.h"
#include "JSString.h"
@@ -72,7 +73,7 @@ JSObject* Error::create(ExecState* exec, ErrorType type, const UString& message,
break;
}
- ArgList args;
+ MarkedArgumentBuffer args;
if (message.isEmpty())
args.append(jsString(exec, name));
else