summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/runtime/InternalFunction.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-05 14:34:32 -0800
commit635860845790a19bf50bbc51ba8fb66a96dde068 (patch)
treeef6ad9ff73a5b57f65249d4232a202fa77e6a140 /JavaScriptCore/runtime/InternalFunction.h
parent8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff)
downloadexternal_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.h14
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));