summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-10-23 09:40:37 (GMT)
committeraxis <qt-info@nokia.com>2009-10-23 09:40:37 (GMT)
commit180d9189e8098d98848367f673fff723ddd1d068 (patch)
treeb052fb1b8361e962884f54aa4d6e6d8dd6f67e73 /src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h
parent18acf933474577a4cec31560eeee22de04111e1e (diff)
parent0f6909e8e1be93d16798d31f18c4da2b0b5a084c (diff)
downloadQt-180d9189e8098d98848367f673fff723ddd1d068.zip
Qt-180d9189e8098d98848367f673fff723ddd1d068.tar.gz
Qt-180d9189e8098d98848367f673fff723ddd1d068.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h b/src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h
index a9ac63e..b4356c4 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/JSFunction.h
@@ -61,7 +61,7 @@ namespace JSC {
static PassRefPtr<Structure> createStructure(JSValue prototype)
{
- return Structure::create(prototype, TypeInfo(ObjectType, ImplementsHasInstance));
+ return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags));
}
NativeFunction nativeFunction()
@@ -72,6 +72,9 @@ namespace JSC {
virtual ConstructType getConstructData(ConstructData&);
virtual CallType getCallData(CallData&);
+ protected:
+ const static unsigned StructureFlags = OverridesGetOwnPropertySlot | ImplementsHasInstance | OverridesMarkChildren | OverridesGetPropertyNames | InternalFunction::StructureFlags;
+
private:
JSFunction(NonNullPassRefPtr<Structure>);