diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-04-10 09:28:39 +0000 |
commit | 32761a6cee1d0dee366b885b7b9c777e67885688 (patch) | |
tree | d6bec92bebfb216f4126356e55518842c2f476a1 /Source/JavaScriptCore/runtime/JSBoundFunction.h | |
parent | a4e969f4965059196ca948db781e52f7cfebf19e (diff) | |
download | WebKitGtk-tarball-32761a6cee1d0dee366b885b7b9c777e67885688.tar.gz |
webkitgtk-2.4.11webkitgtk-2.4.11
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSBoundFunction.h')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSBoundFunction.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/runtime/JSBoundFunction.h b/Source/JavaScriptCore/runtime/JSBoundFunction.h index 320ba630a..7852f78ce 100644 --- a/Source/JavaScriptCore/runtime/JSBoundFunction.h +++ b/Source/JavaScriptCore/runtime/JSBoundFunction.h @@ -32,24 +32,21 @@ namespace JSC { EncodedJSValue JSC_HOST_CALL boundFunctionCall(ExecState*); EncodedJSValue JSC_HOST_CALL boundFunctionConstruct(ExecState*); -EncodedJSValue JSC_HOST_CALL isBoundFunction(ExecState*); -EncodedJSValue JSC_HOST_CALL hasInstanceBoundFunction(ExecState*); class JSBoundFunction : public JSFunction { public: typedef JSFunction Base; - const static unsigned StructureFlags = ~ImplementsDefaultHasInstance & Base::StructureFlags; static JSBoundFunction* create(VM&, JSGlobalObject*, JSObject* targetFunction, JSValue boundThis, JSValue boundArgs, int, const String&); + static void destroy(JSCell*); + static bool customHasInstance(JSObject*, ExecState*, JSValue); JSObject* targetFunction() { return m_targetFunction.get(); } JSValue boundThis() { return m_boundThis.get(); } JSValue boundArgs() { return m_boundArgs.get(); } - String toStringName(ExecState*); - static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) { ASSERT(globalObject); @@ -59,6 +56,8 @@ public: DECLARE_INFO; protected: + const static unsigned StructureFlags = OverridesHasInstance | OverridesVisitChildren | Base::StructureFlags; + static void visitChildren(JSCell*, SlotVisitor&); private: |