diff -r 000000000000 -r 4f2f89ce4247 JavaScriptCore/generated/MathObject.lut.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/JavaScriptCore/generated/MathObject.lut.h Fri Sep 17 09:02:29 2010 +0300 @@ -0,0 +1,37 @@ +// Automatically generated from u:\yaels-qtwebkit\JavaScriptCore\runtime\MathObject.cpp using ../../JavaScriptCore/create_hash_table. DO NOT EDIT! + +#include "Lookup.h" + +namespace JSC { +#if ENABLE(JIT) +#define THUNK_GENERATOR(generator) , generator +#else +#define THUNK_GENERATOR(generator) +#endif + +static const struct HashTableValue mathTableValues[19] = { + { "abs", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncAbs), (intptr_t)1 THUNK_GENERATOR(0) }, + { "acos", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncACos), (intptr_t)1 THUNK_GENERATOR(0) }, + { "asin", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncASin), (intptr_t)1 THUNK_GENERATOR(0) }, + { "atan", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncATan), (intptr_t)1 THUNK_GENERATOR(0) }, + { "atan2", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncATan2), (intptr_t)2 THUNK_GENERATOR(0) }, + { "ceil", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncCeil), (intptr_t)1 THUNK_GENERATOR(0) }, + { "cos", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncCos), (intptr_t)1 THUNK_GENERATOR(0) }, + { "exp", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncExp), (intptr_t)1 THUNK_GENERATOR(0) }, + { "floor", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncFloor), (intptr_t)1 THUNK_GENERATOR(0) }, + { "log", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncLog), (intptr_t)1 THUNK_GENERATOR(0) }, + { "max", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncMax), (intptr_t)2 THUNK_GENERATOR(0) }, + { "min", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncMin), (intptr_t)2 THUNK_GENERATOR(0) }, + { "pow", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncPow), (intptr_t)2 THUNK_GENERATOR(powThunkGenerator) }, + { "random", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncRandom), (intptr_t)0 THUNK_GENERATOR(0) }, + { "round", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncRound), (intptr_t)1 THUNK_GENERATOR(0) }, + { "sin", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncSin), (intptr_t)1 THUNK_GENERATOR(0) }, + { "sqrt", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncSqrt), (intptr_t)1 THUNK_GENERATOR(sqrtThunkGenerator) }, + { "tan", DontEnum|Function, (intptr_t)static_cast(mathProtoFuncTan), (intptr_t)1 THUNK_GENERATOR(0) }, + { 0, 0, 0, 0 THUNK_GENERATOR(0) } +}; + +#undef THUNK_GENERATOR +extern JSC_CONST_HASHTABLE HashTable mathTable = + { 67, 63, mathTableValues, 0 }; +} // namespace