JSJavaScriptCallFramePrototype.h [plain text]
#ifndef JSJavaScriptCallFramePrototype_h
#define JSJavaScriptCallFramePrototype_h
#if ENABLE(INSPECTOR)
#include "JSObject.h"
namespace Inspector {
class JSJavaScriptCallFramePrototype : public JSC::JSNonFinalObject {
public:
typedef JSC::JSNonFinalObject Base;
DECLARE_INFO;
static JSJavaScriptCallFramePrototype* create(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::Structure* structure)
{
JSJavaScriptCallFramePrototype* ptr = new (NotNull, JSC::allocateCell<JSJavaScriptCallFramePrototype>(vm.heap)) JSJavaScriptCallFramePrototype(vm, globalObject, structure);
ptr->finishCreation(vm, globalObject);
return ptr;
}
static JSC::Structure* createStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
{
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), info());
}
protected:
static const unsigned StructureFlags = JSC::OverridesGetOwnPropertySlot | Base::StructureFlags;
private:
JSJavaScriptCallFramePrototype(JSC::VM& vm, JSC::JSGlobalObject*, JSC::Structure* structure)
: JSC::JSNonFinalObject(vm, structure)
{
}
void finishCreation(JSC::VM&, JSC::JSGlobalObject*);
};
}
#endif // ENABLE(INSPECTOR)
#endif // !defined(JSJavaScriptCallFramePrototype_h)