summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/GlobalEvalFunction.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/GlobalEvalFunction.h')
-rw-r--r--JavaScriptCore/runtime/GlobalEvalFunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/runtime/GlobalEvalFunction.h b/JavaScriptCore/runtime/GlobalEvalFunction.h
index 389b1c3..a14ce4d 100644
--- a/JavaScriptCore/runtime/GlobalEvalFunction.h
+++ b/JavaScriptCore/runtime/GlobalEvalFunction.h
@@ -37,7 +37,7 @@ namespace JSC {
static PassRefPtr<Structure> createStructure(JSValue prototype)
{
- return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags));
+ return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount);
}
protected: