| 1 | // Automatically generated from /home/ubuntu/webkit/Source/JavaScriptCore/runtime/StringConstructor.cpp using /home/ubuntu/webkit/Source/JavaScriptCore/create_hash_table. DO NOT EDIT! |
| 2 | |
| 3 | #include "JSCBuiltins.h" |
| 4 | #include "Lookup.h" |
| 5 | |
| 6 | namespace JSC { |
| 7 | |
| 8 | static const struct CompactHashIndex stringConstructorTableIndex[8] = { |
| 9 | { -1, -1 }, |
| 10 | { 2, -1 }, |
| 11 | { -1, -1 }, |
| 12 | { -1, -1 }, |
| 13 | { 1, -1 }, |
| 14 | { -1, -1 }, |
| 15 | { -1, -1 }, |
| 16 | { 0, -1 }, |
| 17 | }; |
| 18 | |
| 19 | static const struct HashTableValue stringConstructorTableValues[3] = { |
| 20 | { "fromCharCode" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), FromCharCodeIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(stringFromCharCode), (intptr_t)(1) } }, |
| 21 | { "fromCodePoint" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(stringFromCodePoint), (intptr_t)(1) } }, |
| 22 | { "raw" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringConstructorRawCodeGenerator), (intptr_t)1 } }, |
| 23 | }; |
| 24 | |
| 25 | static const struct HashTable stringConstructorTable = |
| 26 | { 3, 7, false, nullptr, stringConstructorTableValues, stringConstructorTableIndex }; |
| 27 | |
| 28 | } // namespace JSC |
| 29 | |