diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/GlobalObject.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/GlobalObject.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/GlobalObject.h b/Userland/Libraries/LibJS/Runtime/GlobalObject.h index 16c766fdca..76ceca24ac 100644 --- a/Userland/Libraries/LibJS/Runtime/GlobalObject.h +++ b/Userland/Libraries/LibJS/Runtime/GlobalObject.h @@ -37,6 +37,9 @@ public: // Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct prototype ProxyConstructor* proxy_constructor() { return m_proxy_constructor; } + // Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct constructor + GeneratorObjectPrototype* generator_object_prototype() { return m_generator_object_prototype; } + #define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \ ConstructorName* snake_name##_constructor() { return m_##snake_name##_constructor; } \ Object* snake_name##_prototype() { return m_##snake_name##_prototype; } @@ -81,6 +84,9 @@ private: // Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct prototype ProxyConstructor* m_proxy_constructor { nullptr }; + // Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct constructor + GeneratorObjectPrototype* m_generator_object_prototype { nullptr }; + #define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \ ConstructorName* m_##snake_name##_constructor { nullptr }; \ Object* m_##snake_name##_prototype { nullptr }; |