- // Static hash-table of properties.
- // For classes that can be used from multiple threads, it is accessed via a getter function
- // that would typically return a pointer to a thread-specific value.
- const HashTable* propHashTable(ExecState* exec) const
- {
- if (classPropHashTableGetterFunction)
- return &classPropHashTableGetterFunction(exec->vm());
-
- return staticPropHashTable;
- }
-
- const HashTable* propHashTable(VM& vm) const
- {
- if (classPropHashTableGetterFunction)
- return &classPropHashTableGetterFunction(vm);
-
- return staticPropHashTable;
- }
-