|
1 // Automatically generated from u:\yaels-qtwebkit\JavaScriptCore\runtime\ArrayPrototype.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 arrayTableValues[22] = { |
|
13 { "toString", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncToString), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
14 { "toLocaleString", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncToLocaleString), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
15 { "concat", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncConcat), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
16 { "join", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncJoin), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
17 { "pop", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncPop), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
18 { "push", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncPush), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
19 { "reverse", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncReverse), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
20 { "shift", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncShift), (intptr_t)0 THUNK_GENERATOR(0) }, |
|
21 { "slice", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncSlice), (intptr_t)2 THUNK_GENERATOR(0) }, |
|
22 { "sort", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncSort), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
23 { "splice", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncSplice), (intptr_t)2 THUNK_GENERATOR(0) }, |
|
24 { "unshift", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncUnShift), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
25 { "every", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncEvery), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
26 { "forEach", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncForEach), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
27 { "some", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncSome), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
28 { "indexOf", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncIndexOf), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
29 { "lastIndexOf", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncLastIndexOf), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
30 { "filter", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncFilter), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
31 { "reduce", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncReduce), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
32 { "reduceRight", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncReduceRight), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
33 { "map", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(arrayProtoFuncMap), (intptr_t)1 THUNK_GENERATOR(0) }, |
|
34 { 0, 0, 0, 0 THUNK_GENERATOR(0) } |
|
35 }; |
|
36 |
|
37 #undef THUNK_GENERATOR |
|
38 extern JSC_CONST_HASHTABLE HashTable arrayTable = |
|
39 { 65, 63, arrayTableValues, 0 }; |
|
40 } // namespace |