From b9fad14f87899816cf021b0a7eea8c0de84a5190 Mon Sep 17 00:00:00 2001 From: Zilin Zhu Date: Tue, 6 Sep 2022 15:57:16 +0800 Subject: Add native ReadableState (#1210) * use functionSpace for JSStringDecoderConstructor and fix console.log on prototype * Add native ReadableState * move kPaused to class property --- src/bun.js/bindings/JSStringDecoder.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/bun.js/bindings/JSStringDecoder.h') 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 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. -- cgit v1.2.3