aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/Strong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bun.js/bindings/Strong.cpp')
-rw-r--r--src/bun.js/bindings/Strong.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/bun.js/bindings/Strong.cpp b/src/bun.js/bindings/Strong.cpp
index 8ec63e318..045b4484a 100644
--- a/src/bun.js/bindings/Strong.cpp
+++ b/src/bun.js/bindings/Strong.cpp
@@ -1,28 +1,9 @@
#include "root.h"
#include <JavaScriptCore/StrongInlines.h>
#include "BunClientData.h"
-
+#include "Strong.h"
namespace Bun {
-// We tried to pool these
-// But it was very complicated
-class StrongRef {
- WTF_MAKE_ISO_ALLOCATED(StrongRef);
-
-public:
- StrongRef(JSC::VM& vm, JSC::JSValue value)
- : m_cell(vm, value)
- {
- }
-
- StrongRef()
- : m_cell()
- {
- }
-
- JSC::Strong<JSC::Unknown> m_cell;
-};
-
WTF_MAKE_ISO_ALLOCATED_IMPL(StrongRef);
}