File: ObjectConstructor.lut.h

package info (click to toggle)
qtwebkit 2.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 143,644 kB
  • sloc: cpp: 913,445; python: 19,625; ansic: 16,252; perl: 11,604; yacc: 3,615; asm: 992; lex: 555; sh: 379; makefile: 375; objc: 347; ruby: 23; xml: 5
file content (32 lines) | stat: -rw-r--r-- 2,424 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Automatically generated from ../Source/JavaScriptCore/runtime/ObjectConstructor.cpp using /Source/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 objectConstructorTableValues[14] = {
   { "getPrototypeOf", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorGetPrototypeOf), (intptr_t)1 THUNK_GENERATOR(0) },
   { "getOwnPropertyDescriptor", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorGetOwnPropertyDescriptor), (intptr_t)2 THUNK_GENERATOR(0) },
   { "getOwnPropertyNames", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorGetOwnPropertyNames), (intptr_t)1 THUNK_GENERATOR(0) },
   { "keys", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorKeys), (intptr_t)1 THUNK_GENERATOR(0) },
   { "defineProperty", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorDefineProperty), (intptr_t)3 THUNK_GENERATOR(0) },
   { "defineProperties", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorDefineProperties), (intptr_t)2 THUNK_GENERATOR(0) },
   { "create", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorCreate), (intptr_t)2 THUNK_GENERATOR(0) },
   { "seal", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorSeal), (intptr_t)1 THUNK_GENERATOR(0) },
   { "freeze", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorFreeze), (intptr_t)1 THUNK_GENERATOR(0) },
   { "preventExtensions", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorPreventExtensions), (intptr_t)1 THUNK_GENERATOR(0) },
   { "isSealed", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorIsSealed), (intptr_t)1 THUNK_GENERATOR(0) },
   { "isFrozen", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorIsFrozen), (intptr_t)1 THUNK_GENERATOR(0) },
   { "isExtensible", DontEnum|Function, (intptr_t)static_cast<NativeFunction>(objectConstructorIsExtensible), (intptr_t)1 THUNK_GENERATOR(0) },
   { 0, 0, 0, 0 THUNK_GENERATOR(0) }
};

#undef THUNK_GENERATOR
extern JSC_CONST_HASHTABLE HashTable objectConstructorTable =
    { 34, 31, objectConstructorTableValues, 0 };
} // namespace