From 05f3a22cba9bdcc3944dbb8ab44a7c306da5e9d3 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Mon, 6 Feb 2023 18:40:52 -0800 Subject: Use new bindings for Stat Fixes #1999 --- src/bun.js/bindings/ZigGeneratedClasses+lazyStructureHeader.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/bun.js/bindings/ZigGeneratedClasses+lazyStructureHeader.h') diff --git a/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureHeader.h b/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureHeader.h index ffd6fde0d..f03a3faa3 100644 --- a/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureHeader.h +++ b/src/bun.js/bindings/ZigGeneratedClasses+lazyStructureHeader.h @@ -112,6 +112,12 @@ JSC::Structure* JSServerWebSocketStructure() { return m_JSServerWebSocket.getIni JSC::LazyClassStructure m_JSServerWebSocket; bool hasJSServerWebSocketSetterValue { false }; mutable JSC::WriteBarrier m_JSServerWebSocketSetterValue; +JSC::Structure* JSStatsStructure() { return m_JSStats.getInitializedOnMainThread(this); } + JSC::JSObject* JSStatsConstructor() { return m_JSStats.constructorInitializedOnMainThread(this); } + JSC::JSValue JSStatsPrototype() { return m_JSStats.prototypeInitializedOnMainThread(this); } + JSC::LazyClassStructure m_JSStats; + bool hasJSStatsSetterValue { false }; + mutable JSC::WriteBarrier m_JSStatsSetterValue; JSC::Structure* JSSubprocessStructure() { return m_JSSubprocess.getInitializedOnMainThread(this); } JSC::JSObject* JSSubprocessConstructor() { return m_JSSubprocess.constructorInitializedOnMainThread(this); } JSC::JSValue JSSubprocessPrototype() { return m_JSSubprocess.prototypeInitializedOnMainThread(this); } -- cgit v1.2.3