summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/BooleanObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/runtime/BooleanObject.h')
-rw-r--r--JavaScriptCore/runtime/BooleanObject.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/JavaScriptCore/runtime/BooleanObject.h b/JavaScriptCore/runtime/BooleanObject.h
index cfd55fe..1361e46 100644
--- a/JavaScriptCore/runtime/BooleanObject.h
+++ b/JavaScriptCore/runtime/BooleanObject.h
@@ -31,6 +31,11 @@ namespace JSC {
virtual const ClassInfo* classInfo() const { return &info; }
static const ClassInfo info;
+
+ static PassRefPtr<Structure> createStructure(JSValue prototype)
+ {
+ return Structure::create(prototype, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot | HasDefaultMark));
+ }
};
BooleanObject* asBooleanObject(JSValue);