| 1 | // Automatically generated from runtime/MathObject.cpp using /home/khansen/dev/qtwebkit-qtscript-integration/JavaScriptCore/create_hash_table. DO NOT EDIT! |
| 2 | |
| 3 | #include "Lookup.h" |
| 4 | |
| 5 | namespace JSC { |
| 6 | |
| 7 | static const struct HashTableValue mathTableValues[19] = { |
| 8 | { .key: "abs" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncAbs, .value2: (intptr_t)1 }, |
| 9 | { .key: "acos" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncACos, .value2: (intptr_t)1 }, |
| 10 | { .key: "asin" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncASin, .value2: (intptr_t)1 }, |
| 11 | { .key: "atan" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncATan, .value2: (intptr_t)1 }, |
| 12 | { .key: "atan2" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncATan2, .value2: (intptr_t)2 }, |
| 13 | { .key: "ceil" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncCeil, .value2: (intptr_t)1 }, |
| 14 | { .key: "cos" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncCos, .value2: (intptr_t)1 }, |
| 15 | { .key: "exp" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncExp, .value2: (intptr_t)1 }, |
| 16 | { .key: "floor" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncFloor, .value2: (intptr_t)1 }, |
| 17 | { .key: "log" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncLog, .value2: (intptr_t)1 }, |
| 18 | { .key: "max" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncMax, .value2: (intptr_t)2 }, |
| 19 | { .key: "min" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncMin, .value2: (intptr_t)2 }, |
| 20 | { .key: "pow" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncPow, .value2: (intptr_t)2 }, |
| 21 | { .key: "random" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncRandom, .value2: (intptr_t)0 }, |
| 22 | { .key: "round" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncRound, .value2: (intptr_t)1 }, |
| 23 | { .key: "sin" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncSin, .value2: (intptr_t)1 }, |
| 24 | { .key: "sqrt" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncSqrt, .value2: (intptr_t)1 }, |
| 25 | { .key: "tan" , .attributes: DontEnum|Function, .value1: (intptr_t)mathProtoFuncTan, .value2: (intptr_t)1 }, |
| 26 | { .key: 0, .attributes: 0, .value1: 0, .value2: 0 } |
| 27 | }; |
| 28 | |
| 29 | extern JSC_CONST_HASHTABLE HashTable mathTable = |
| 30 | { .compactSize: 67, .compactHashSizeMask: 63, .values: mathTableValues, .table: 0 }; |
| 31 | } // namespace |
| 32 | |