aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigGlobalObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.h')
-rw-r--r--src/bun.js/bindings/ZigGlobalObject.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.h b/src/bun.js/bindings/ZigGlobalObject.h
index 375cc2300..9d71b91ac 100644
--- a/src/bun.js/bindings/ZigGlobalObject.h
+++ b/src/bun.js/bindings/ZigGlobalObject.h
@@ -203,6 +203,10 @@ public:
}
void handleRejectedPromises();
+ void initGeneratedLazyClasses();
+
+ template<typename Visitor>
+ void visitGeneratedLazyClasses(GlobalObject*, Visitor&);
void* bunVM() { return m_bunVM; }
bool isThreadLocalDefaultGlobalObject = false;
@@ -218,6 +222,8 @@ public:
this->m_ffiFunctions.append(JSC::Strong<JSC::JSFunction> { vm(), function });
}
+#include "ZigGeneratedClasses+lazyStructureHeader.h"
+
private:
void addBuiltinGlobals(JSC::VM&);
void finishCreation(JSC::VM&);