X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9bcd318d5fa2a38139c9651d263a06c797529333..ba379fdc102753d6be2c4d937058fe40257329fe:/runtime/InternalFunction.h diff --git a/runtime/InternalFunction.h b/runtime/InternalFunction.h index cc4b917..310644c 100644 --- a/runtime/InternalFunction.h +++ b/runtime/InternalFunction.h @@ -34,11 +34,13 @@ namespace JSC { class InternalFunction : public JSObject { public: virtual const ClassInfo* classInfo() const; - static const ClassInfo info; + static JS_EXPORTDATA const ClassInfo info; const UString& name(JSGlobalData*); + const UString displayName(JSGlobalData*); + const UString calculatedDisplayName(JSGlobalData*); - static PassRefPtr createStructure(JSValuePtr proto) + static PassRefPtr createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot)); } @@ -51,9 +53,9 @@ namespace JSC { virtual CallType getCallData(CallData&) = 0; }; - InternalFunction* asInternalFunction(JSValuePtr); + InternalFunction* asInternalFunction(JSValue); - inline InternalFunction* asInternalFunction(JSValuePtr value) + inline InternalFunction* asInternalFunction(JSValue value) { ASSERT(asObject(value)->inherits(&InternalFunction::info)); return static_cast(asObject(value));