diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /JavaScriptCore/runtime/InternalFunction.h | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'JavaScriptCore/runtime/InternalFunction.h')
-rw-r--r-- | JavaScriptCore/runtime/InternalFunction.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/JavaScriptCore/runtime/InternalFunction.h b/JavaScriptCore/runtime/InternalFunction.h index 54d90ae..cc4b917 100644 --- a/JavaScriptCore/runtime/InternalFunction.h +++ b/JavaScriptCore/runtime/InternalFunction.h @@ -25,7 +25,7 @@ #define InternalFunction_h #include "JSObject.h" -#include "identifier.h" +#include "Identifier.h" namespace JSC { @@ -38,22 +38,22 @@ namespace JSC { const UString& name(JSGlobalData*); - static PassRefPtr<StructureID> createStructureID(JSValue* proto) + static PassRefPtr<Structure> createStructure(JSValuePtr proto) { - return StructureID::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot)); + return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot)); } protected: - InternalFunction(PassRefPtr<StructureID> structure) : JSObject(structure) { } - InternalFunction(JSGlobalData*, PassRefPtr<StructureID>, const Identifier&); + InternalFunction(PassRefPtr<Structure> structure) : JSObject(structure) { } + InternalFunction(JSGlobalData*, PassRefPtr<Structure>, const Identifier&); private: virtual CallType getCallData(CallData&) = 0; }; - InternalFunction* asInternalFunction(JSValue*); + InternalFunction* asInternalFunction(JSValuePtr); - inline InternalFunction* asInternalFunction(JSValue* value) + inline InternalFunction* asInternalFunction(JSValuePtr value) { ASSERT(asObject(value)->inherits(&InternalFunction::info)); return static_cast<InternalFunction*>(asObject(value)); |