aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-08-12 01:17:57 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-08-12 01:18:31 -0700
commitdba3aaedab5bb85e3ab13371e9d8484945c049f8 (patch)
treec84b7ad023d6ed0376654178f7c748eb3210b407 /src
parentc9cd8bd13b799a161392e8aefb64eb2d0ff3a31e (diff)
downloadbun-dba3aaedab5bb85e3ab13371e9d8484945c049f8.tar.gz
bun-dba3aaedab5bb85e3ab13371e9d8484945c049f8.tar.zst
bun-dba3aaedab5bb85e3ab13371e9d8484945c049f8.zip
Faster performance.now()
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/bindings/ZigGlobalObject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.h b/src/bun.js/bindings/ZigGlobalObject.h
index 7189e8f11..98d12acbb 100644
--- a/src/bun.js/bindings/ZigGlobalObject.h
+++ b/src/bun.js/bindings/ZigGlobalObject.h
@@ -188,6 +188,7 @@ public:
JSC::JSMap* readableStreamNativeMap() { return m_lazyReadableStreamPrototypeMap.getInitializedOnMainThread(this); }
JSC::JSMap* requireMap() { return m_requireMap.getInitializedOnMainThread(this); }
+ JSC::JSObject* encodeIntoObjectPrototype() { return m_encodeIntoObjectPrototype.getInitializedOnMainThread(this); }
JSC::JSObject* performanceObject() { return m_performanceObject.getInitializedOnMainThread(this); }
@@ -238,6 +239,9 @@ private:
LazyProperty<JSGlobalObject, JSMap> m_lazyReadableStreamPrototypeMap;
LazyProperty<JSGlobalObject, JSMap> m_requireMap;
LazyProperty<JSGlobalObject, JSObject> m_performanceObject;
+
+ LazyProperty<JSGlobalObject, JSObject> m_encodeIntoObjectPrototype;
+
// LazyProperty<JSGlobalObject, WebCore::JSEventTarget> m_eventTarget;
JSClassRef m_dotEnvClassRef;