|
1 // Automatically generated from u:\yaels-qtwebkit\JavaScriptCore\runtime\MathObject.cpp using ../../JavaScriptCore/create_hash_table. DO NOT EDIT! |
|
2 |
|
3 #include "Lookup.h" |
|
4 |
|
5 namespace JSC { |
|
6 #if ENABLE(JIT) |
|
7 #define THUNK_GENERATOR(generator) , generator |
|
8 #else |
|
9 #define THUNK_GENERATOR(generator) |
|
10 #endif |
|
11 |
|
12 static const struct HashTableValue mathTableValues[19] = { |
|
13 { "abs", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncAbs), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
14 { "acos", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncACos), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
15 { "asin", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncASin), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
16 { "atan", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncATan), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
17 { "atan2", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncATan2), (intptr_t)2 THUNK_GENERATOR(0) }, |
|
18 { "ceil", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncCeil), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
19 { "cos", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncCos), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
20 { "exp", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncExp), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
21 { "floor", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncFloor), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
22 { "log", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncLog), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
23 { "max", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncMax), (intptr_t)2 THUNK_GENERATOR(0) }, |
|
24 { "min", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncMin), (intptr_t)2 THUNK_GENERATOR(0) }, |
|
25 { "pow", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncPow), (intptr_t)2 THUNK_GENERATOR(powThunkGenerator) }, |
|
26 { "random", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncRandom), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
27 { "round", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncRound), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
28 { "sin", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncSin), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
29 { "sqrt", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncSqrt), (intptr_t)1 THUNK_GENERATOR(sqrtThunkGenerator) }, |
|
30 { "tan", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(mathProtoFuncTan), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
31 { 0, 0, 0, 0 THUNK_GENERATOR(0) } |
|
32 }; |
|
33 |
|
34 #undef THUNK_GENERATOR |
|
35 extern JSC_CONST_HASHTABLE HashTable mathTable = |
|
36 { 67, 63, mathTableValues, 0 }; |
|
37 } // namespace |