aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/BunJSCModule.h
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2023-07-29 06:18:51 -0700
committerGravatar GitHub <noreply@github.com> 2023-07-29 06:18:51 -0700
commit681be10294c19b8ce402ec44df5cd6554e2c86c0 (patch)
treed7729f1c4b2cd6f2f9e9ad45002b8fa3f44ba8fe /src/bun.js/bindings/BunJSCModule.h
parentdccf82b1c682a84c42540ba9e00e5e9296cc7e5f (diff)
downloadbun-681be10294c19b8ce402ec44df5cd6554e2c86c0.tar.gz
bun-681be10294c19b8ce402ec44df5cd6554e2c86c0.tar.zst
bun-681be10294c19b8ce402ec44df5cd6554e2c86c0.zip
Make `bun:jsc` memoryUsage more accurate (#3876)
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/BunJSCModule.h')
-rw-r--r--src/bun.js/bindings/BunJSCModule.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bun.js/bindings/BunJSCModule.h b/src/bun.js/bindings/BunJSCModule.h
index 7df47a566..d2ddcf6a7 100644
--- a/src/bun.js/bindings/BunJSCModule.h
+++ b/src/bun.js/bindings/BunJSCModule.h
@@ -1,4 +1,7 @@
+#pragma once
+
#include "root.h"
#include "JavaScriptCore/JSObject.h"
-JSC::JSObject* createJSCModule(JSC::JSGlobalObject* globalObject); \ No newline at end of file
+JSC::JSObject* createJSCModule(JSC::JSGlobalObject* globalObject);
+JSC::Structure* createMemoryFootprintStructure(JSC::VM& vm, JSC::JSGlobalObject* globalObject); \ No newline at end of file