mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
remove unused JSC::ClassInfo::staticPropHashTable member
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b6aa2c4e5d
commit
cdace38489
31 changed files with 34 additions and 36 deletions
|
@ -34,7 +34,7 @@
|
|||
|
||||
namespace JSC {
|
||||
|
||||
const ClassInfo JSCallbackConstructor::info = { "CallbackConstructor", 0, 0, 0 };
|
||||
const ClassInfo JSCallbackConstructor::info = { "CallbackConstructor", 0, 0 };
|
||||
|
||||
JSCallbackConstructor::JSCallbackConstructor(NonNullPassRefPtr<Structure> structure, JSClassRef jsClass, JSObjectCallAsConstructorCallback callback)
|
||||
: JSObject(structure)
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(JSCallbackFunction);
|
||||
|
||||
const ClassInfo JSCallbackFunction::info = { "CallbackFunction", &InternalFunction::info, 0, 0 };
|
||||
const ClassInfo JSCallbackFunction::info = { "CallbackFunction", &InternalFunction::info, 0 };
|
||||
|
||||
JSCallbackFunction::JSCallbackFunction(ExecState* exec, JSObjectCallAsFunctionCallback callback, const Identifier& name)
|
||||
: InternalFunction(&exec->globalData(), exec->lexicalGlobalObject()->callbackFunctionStructure(), name)
|
||||
|
|
|
@ -35,7 +35,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(Arguments);
|
||||
|
||||
const ClassInfo Arguments::info = { "Arguments", 0, 0, 0 };
|
||||
const ClassInfo Arguments::info = { "Arguments", 0, 0 };
|
||||
|
||||
Arguments::~Arguments()
|
||||
{
|
||||
|
|
|
@ -78,7 +78,7 @@ static inline bool isNumericCompareFunction(ExecState* exec, CallType callType,
|
|||
|
||||
// ------------------------------ ArrayPrototype ----------------------------
|
||||
|
||||
const ClassInfo ArrayPrototype::info = {"Array", &JSArray::info, 0, ExecState::arrayTable};
|
||||
const ClassInfo ArrayPrototype::info = { "Array", &JSArray::info, ExecState::arrayTable };
|
||||
|
||||
/* Source for ArrayPrototype.lut.h
|
||||
@begin arrayTable 16
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(BooleanObject);
|
||||
|
||||
const ClassInfo BooleanObject::info = { "Boolean", 0, 0, 0 };
|
||||
const ClassInfo BooleanObject::info = { "Boolean", 0, 0 };
|
||||
|
||||
BooleanObject::BooleanObject(NonNullPassRefPtr<Structure> structure)
|
||||
: JSWrapperObject(structure)
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
namespace JSC {
|
||||
|
||||
class HashEntry;
|
||||
struct HashTable;
|
||||
|
||||
struct ClassInfo {
|
||||
|
@ -49,10 +48,9 @@ namespace JSC {
|
|||
{
|
||||
if (classPropHashTableGetterFunction)
|
||||
return classPropHashTableGetterFunction(exec);
|
||||
return staticPropHashTable;
|
||||
return 0;
|
||||
}
|
||||
|
||||
const HashTable* staticPropHashTable;
|
||||
typedef const HashTable* (*ClassPropHashTableGetterFunction)(ExecState*);
|
||||
const ClassPropHashTableGetterFunction classPropHashTableGetterFunction;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ using namespace WTF;
|
|||
|
||||
namespace JSC {
|
||||
|
||||
const ClassInfo DateInstance::info = {"Date", 0, 0, 0};
|
||||
const ClassInfo DateInstance::info = { "Date", 0, 0 };
|
||||
|
||||
DateInstance::DateInstance(ExecState* exec, NonNullPassRefPtr<Structure> structure)
|
||||
: JSWrapperObject(structure)
|
||||
|
|
|
@ -256,7 +256,7 @@ static bool fillStructuresUsingDateArgs(ExecState *exec, const ArgList& args, in
|
|||
return ok;
|
||||
}
|
||||
|
||||
const ClassInfo DatePrototype::info = {"Date", &DateInstance::info, 0, ExecState::dateTable};
|
||||
const ClassInfo DatePrototype::info = { "Date", &DateInstance::info, ExecState::dateTable };
|
||||
|
||||
/* Source for DatePrototype.lut.h
|
||||
@begin dateTable
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
namespace JSC {
|
||||
|
||||
const ClassInfo ErrorInstance::info = { "Error", 0, 0, 0 };
|
||||
const ClassInfo ErrorInstance::info = { "Error", 0, 0 };
|
||||
|
||||
ErrorInstance::ErrorInstance(NonNullPassRefPtr<Structure> structure)
|
||||
: JSObject(structure)
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(InternalFunction);
|
||||
|
||||
const ClassInfo InternalFunction::info = { "Function", 0, 0, 0 };
|
||||
const ClassInfo InternalFunction::info = { "Function", 0, 0 };
|
||||
|
||||
const ClassInfo* InternalFunction::classInfo() const
|
||||
{
|
||||
|
|
|
@ -37,7 +37,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(JSActivation);
|
||||
|
||||
const ClassInfo JSActivation::info = { "JSActivation", 0, 0, 0 };
|
||||
const ClassInfo JSActivation::info = { "JSActivation", 0, 0 };
|
||||
|
||||
JSActivation::JSActivation(CallFrame* callFrame, NonNullPassRefPtr<FunctionExecutable> functionExecutable)
|
||||
: Base(callFrame->globalData().activationStructure, new JSActivationData(functionExecutable, callFrame->registers()))
|
||||
|
|
|
@ -86,7 +86,7 @@ ASSERT_CLASS_FITS_IN_CELL(JSArray);
|
|||
// as long as it is 1/8 full. If more sparse than that, we use a map.
|
||||
static const unsigned minDensityMultiplier = 8;
|
||||
|
||||
const ClassInfo JSArray::info = {"Array", 0, 0, 0};
|
||||
const ClassInfo JSArray::info = { "Array", 0, 0 };
|
||||
|
||||
static inline size_t storageSize(unsigned vectorLength)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@ using namespace WTF;
|
|||
|
||||
namespace JSC {
|
||||
|
||||
const ClassInfo JSByteArray::s_defaultInfo = { "ByteArray", 0, 0, 0 };
|
||||
const ClassInfo JSByteArray::s_defaultInfo = { "ByteArray", 0, 0 };
|
||||
|
||||
JSByteArray::JSByteArray(ExecState* exec, NonNullPassRefPtr<Structure> structure, ByteArray* storage, const JSC::ClassInfo* classInfo)
|
||||
: JSObject(structure)
|
||||
|
|
|
@ -43,7 +43,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(JSFunction);
|
||||
|
||||
const ClassInfo JSFunction::info = { "Function", &InternalFunction::info, 0, 0 };
|
||||
const ClassInfo JSFunction::info = { "Function", &InternalFunction::info, 0 };
|
||||
|
||||
bool JSFunction::isHostFunctionNonInline() const
|
||||
{
|
||||
|
|
|
@ -72,7 +72,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(JSGlobalObject);
|
||||
|
||||
const ClassInfo JSGlobalObject::info = { "CallbackGlobalObject", 0, 0, 0 };
|
||||
const ClassInfo JSGlobalObject::info = { "CallbackGlobalObject", 0, 0 };
|
||||
|
||||
static inline void markIfNeeded(MarkStack& markStack, JSValue v)
|
||||
{
|
||||
|
|
|
@ -600,7 +600,7 @@ bool Stringifier::Holder::appendNextProperty(Stringifier& stringifier, StringBui
|
|||
|
||||
// ------------------------------ JSONObject --------------------------------
|
||||
|
||||
const ClassInfo JSONObject::info = { "JSON", 0, 0, ExecState::jsonTable };
|
||||
const ClassInfo JSONObject::info = { "JSON", 0, ExecState::jsonTable };
|
||||
|
||||
/* Source for JSONObject.lut.h
|
||||
@begin jsonTable
|
||||
|
|
|
@ -42,7 +42,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(JSObject);
|
||||
|
||||
const ClassInfo JSObject::info = { "CallbackObject", 0, 0, 0 };
|
||||
const ClassInfo JSObject::info = { "CallbackObject", 0, 0 };
|
||||
|
||||
static inline void getClassPropertyNames(ExecState* exec, const ClassInfo* classInfo, PropertyNameArray& propertyNames, EnumerationMode mode)
|
||||
{
|
||||
|
|
|
@ -58,7 +58,7 @@ namespace JSC {
|
|||
|
||||
// ------------------------------ MathObject --------------------------------
|
||||
|
||||
const ClassInfo MathObject::info = { "Math", 0, 0, ExecState::mathTable };
|
||||
const ClassInfo MathObject::info = { "Math", 0, ExecState::mathTable };
|
||||
|
||||
/* Source for MathObject.lut.h
|
||||
@begin mathTable
|
||||
|
|
|
@ -30,7 +30,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(NativeErrorConstructor);
|
||||
|
||||
const ClassInfo NativeErrorConstructor::info = { "Function", &InternalFunction::info, 0, 0 };
|
||||
const ClassInfo NativeErrorConstructor::info = { "Function", &InternalFunction::info, 0 };
|
||||
|
||||
NativeErrorConstructor::NativeErrorConstructor(ExecState* exec, NonNullPassRefPtr<Structure> structure, NativeErrorPrototype* nativeErrorPrototype)
|
||||
: InternalFunction(&exec->globalData(), structure, Identifier(exec, nativeErrorPrototype->getDirect(exec->propertyNames().name).getString(exec)))
|
||||
|
|
|
@ -41,7 +41,7 @@ static JSValue numberConstructorMinValue(ExecState*, const Identifier&, const Pr
|
|||
|
||||
namespace JSC {
|
||||
|
||||
const ClassInfo NumberConstructor::info = { "Function", &InternalFunction::info, 0, ExecState::numberTable };
|
||||
const ClassInfo NumberConstructor::info = { "Function", &InternalFunction::info, ExecState::numberTable };
|
||||
|
||||
/* Source for NumberConstructor.lut.h
|
||||
@begin numberTable
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(NumberObject);
|
||||
|
||||
const ClassInfo NumberObject::info = { "Number", 0, 0, 0 };
|
||||
const ClassInfo NumberObject::info = { "Number", 0, 0 };
|
||||
|
||||
NumberObject::NumberObject(NonNullPassRefPtr<Structure> structure)
|
||||
: JSWrapperObject(structure)
|
||||
|
|
|
@ -62,7 +62,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(RegExpConstructor);
|
||||
|
||||
const ClassInfo RegExpConstructor::info = { "Function", &InternalFunction::info, 0, ExecState::regExpConstructorTable };
|
||||
const ClassInfo RegExpConstructor::info = { "Function", &InternalFunction::info, ExecState::regExpConstructorTable };
|
||||
|
||||
/* Source for RegExpConstructor.lut.h
|
||||
@begin regExpConstructorTable
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(RegExpObject);
|
||||
|
||||
const ClassInfo RegExpObject::info = { "RegExp", 0, 0, ExecState::regExpTable };
|
||||
const ClassInfo RegExpObject::info = { "RegExp", 0, ExecState::regExpTable };
|
||||
|
||||
/* Source for RegExpObject.lut.h
|
||||
@begin regExpTable
|
||||
|
|
|
@ -44,7 +44,7 @@ static JSValue QT_FASTCALL regExpProtoFuncToString(ExecState*, JSObject*, JSValu
|
|||
|
||||
// ECMA 15.10.5
|
||||
|
||||
const ClassInfo RegExpPrototype::info = { "RegExpPrototype", 0, 0, 0 };
|
||||
const ClassInfo RegExpPrototype::info = { "RegExpPrototype", 0, 0 };
|
||||
|
||||
RegExpPrototype::RegExpPrototype(ExecState* exec, NonNullPassRefPtr<Structure> structure, Structure* prototypeFunctionStructure)
|
||||
: JSObject(structure)
|
||||
|
|
|
@ -27,7 +27,7 @@ namespace JSC {
|
|||
|
||||
ASSERT_CLASS_FITS_IN_CELL(StringObject);
|
||||
|
||||
const ClassInfo StringObject::info = { "String", 0, 0, 0 };
|
||||
const ClassInfo StringObject::info = { "String", 0, 0 };
|
||||
|
||||
StringObject::StringObject(ExecState* exec, NonNullPassRefPtr<Structure> structure)
|
||||
: JSWrapperObject(structure)
|
||||
|
|
|
@ -83,7 +83,7 @@ static JSValue QT_FASTCALL stringProtoFuncTrimRight(ExecState*, JSObject*, JSVal
|
|||
|
||||
namespace JSC {
|
||||
|
||||
const ClassInfo StringPrototype::info = { "String", &StringObject::info, 0, ExecState::stringTable };
|
||||
const ClassInfo StringPrototype::info = { "String", &StringObject::info, ExecState::stringTable };
|
||||
|
||||
/* Source for StringPrototype.lut.h
|
||||
@begin stringTable 26
|
||||
|
|
|
@ -43,7 +43,7 @@ QT_BEGIN_NAMESPACE
|
|||
namespace QScript
|
||||
{
|
||||
|
||||
const JSC::ClassInfo QScriptActivationObject::info = { "QScriptActivationObject", 0, 0, 0 };
|
||||
const JSC::ClassInfo QScriptActivationObject::info = { "QScriptActivationObject", 0, 0 };
|
||||
|
||||
QScriptActivationObject::QScriptActivationObject(JSC::ExecState *callFrame, JSC::JSObject *delegate)
|
||||
: JSC::JSVariableObject(callFrame->globalData().activationStructure,
|
||||
|
|
|
@ -44,8 +44,8 @@ QT_BEGIN_NAMESPACE
|
|||
namespace QScript
|
||||
{
|
||||
|
||||
const JSC::ClassInfo FunctionWrapper::info = { "QtNativeFunctionWrapper", &PrototypeFunction::info, 0, 0 };
|
||||
const JSC::ClassInfo FunctionWithArgWrapper::info = { "QtNativeFunctionWithArgWrapper", &PrototypeFunction::info, 0, 0 };
|
||||
const JSC::ClassInfo FunctionWrapper::info = { "QtNativeFunctionWrapper", &PrototypeFunction::info, 0 };
|
||||
const JSC::ClassInfo FunctionWithArgWrapper::info = { "QtNativeFunctionWithArgWrapper", &PrototypeFunction::info, 0 };
|
||||
|
||||
FunctionWrapper::FunctionWrapper(JSC::ExecState *exec, int length, const JSC::Identifier &name,
|
||||
QScriptEngine::FunctionSignature function)
|
||||
|
|
|
@ -35,7 +35,7 @@ ASSERT_CLASS_FITS_IN_CELL(QT_PREPEND_NAMESPACE(QScriptObjectPrototype));
|
|||
QT_BEGIN_NAMESPACE
|
||||
|
||||
// masquerading as JSC::JSObject
|
||||
const JSC::ClassInfo QScriptObject::info = { "Object", 0, 0, 0 };
|
||||
const JSC::ClassInfo QScriptObject::info = { "Object", 0, 0 };
|
||||
|
||||
QScriptObject::Data::~Data()
|
||||
{
|
||||
|
|
|
@ -1017,7 +1017,7 @@ JSC::JSValue QtFunction::execute(JSC::ExecState *exec, JSC::JSValue thisValue,
|
|||
meta, data->initialIndex, data->maybeOverloaded);
|
||||
}
|
||||
|
||||
const JSC::ClassInfo QtFunction::info = { "QtFunction", &InternalFunction::info, 0, 0 };
|
||||
const JSC::ClassInfo QtFunction::info = { "QtFunction", &InternalFunction::info, 0 };
|
||||
|
||||
JSC::JSValue QT_FASTCALL QtFunction::call(JSC::ExecState *exec, JSC::JSObject *callee,
|
||||
JSC::JSValue thisValue, const JSC::ArgList &args)
|
||||
|
@ -1074,7 +1074,7 @@ int QtFunction::specificIndex(const QScriptContext *context) const
|
|||
return result.asInt32();
|
||||
}
|
||||
|
||||
const JSC::ClassInfo QtPropertyFunction::info = { "QtPropertyFunction", &InternalFunction::info, 0, 0 };
|
||||
const JSC::ClassInfo QtPropertyFunction::info = { "QtPropertyFunction", &InternalFunction::info, 0 };
|
||||
|
||||
QtPropertyFunction::QtPropertyFunction(const QMetaObject *meta, int index,
|
||||
JSC::JSGlobalData *data,
|
||||
|
@ -1801,7 +1801,7 @@ QObjectPrototype::QObjectPrototype(JSC::ExecState* exec, WTF::PassRefPtr<JSC::St
|
|||
this->structure()->setHasGetterSetterProperties(true);
|
||||
}
|
||||
|
||||
const JSC::ClassInfo QMetaObjectWrapperObject::info = { "QMetaObject", 0, 0, 0 };
|
||||
const JSC::ClassInfo QMetaObjectWrapperObject::info = { "QMetaObject", 0, 0 };
|
||||
|
||||
QMetaObjectWrapperObject::QMetaObjectWrapperObject(
|
||||
JSC::ExecState *exec, const QMetaObject *metaObject, JSC::JSValue ctor,
|
||||
|
|
|
@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE
|
|||
\sa QScriptContext::pushScope()
|
||||
*/
|
||||
|
||||
const JSC::ClassInfo QScriptStaticScopeObject::info = { "QScriptStaticScopeObject", 0, 0, 0 };
|
||||
const JSC::ClassInfo QScriptStaticScopeObject::info = { "QScriptStaticScopeObject", 0, 0 };
|
||||
|
||||
/*!
|
||||
Creates a static scope object with a fixed set of undeletable properties.
|
||||
|
|
Loading…
Add table
Reference in a new issue