aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/JSStringDecoder.h
diff options
context:
space:
mode:
authorGravatar Zilin Zhu <zhuzilinallen@gmail.com> 2022-09-06 15:57:16 +0800
committerGravatar GitHub <noreply@github.com> 2022-09-06 00:57:16 -0700
commitb9fad14f87899816cf021b0a7eea8c0de84a5190 (patch)
tree793c793d6e7432bbdbf9f7e1af6583af8d9ad1e4 /src/bun.js/bindings/JSStringDecoder.h
parent5a715210218715f71cba2053083ba9993ea82c7e (diff)
downloadbun-b9fad14f87899816cf021b0a7eea8c0de84a5190.tar.gz
bun-b9fad14f87899816cf021b0a7eea8c0de84a5190.tar.zst
bun-b9fad14f87899816cf021b0a7eea8c0de84a5190.zip
Add native ReadableState (#1210)
* use functionSpace for JSStringDecoderConstructor and fix console.log on prototype * Add native ReadableState * move kPaused to class property
Diffstat (limited to 'src/bun.js/bindings/JSStringDecoder.h')
-rw-r--r--src/bun.js/bindings/JSStringDecoder.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bun.js/bindings/JSStringDecoder.h b/src/bun.js/bindings/JSStringDecoder.h
index de2c54209..299c2fb96 100644
--- a/src/bun.js/bindings/JSStringDecoder.h
+++ b/src/bun.js/bindings/JSStringDecoder.h
@@ -103,15 +103,6 @@ public:
return JSC::Structure::create(vm, globalObject, prototype, JSC::TypeInfo(JSC::InternalFunctionType, StructureFlags), info());
}
- template<typename, JSC::SubspaceAccess mode> static JSC::GCClient::IsoSubspace* subspaceFor(JSC::VM& vm)
- {
- if constexpr (mode == JSC::SubspaceAccess::Concurrently)
- return nullptr;
- return subspaceForImpl(vm);
- }
-
- static JSC::GCClient::IsoSubspace* subspaceForImpl(JSC::VM& vm);
-
void initializeProperties(JSC::VM& vm, JSC::JSGlobalObject* globalObject, JSStringDecoderPrototype* prototype);
// Must be defined for each specialization class.