diff options
author | 2022-09-06 15:57:16 +0800 | |
---|---|---|
committer | 2022-09-06 00:57:16 -0700 | |
commit | b9fad14f87899816cf021b0a7eea8c0de84a5190 (patch) | |
tree | 793c793d6e7432bbdbf9f7e1af6583af8d9ad1e4 /src/bun.js/bindings/JSStringDecoder.h | |
parent | 5a715210218715f71cba2053083ba9993ea82c7e (diff) | |
download | bun-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.h | 9 |
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. |