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.cpp | |
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.cpp')
-rw-r--r-- | src/bun.js/bindings/JSStringDecoder.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/bun.js/bindings/JSStringDecoder.cpp b/src/bun.js/bindings/JSStringDecoder.cpp index d9af6e49e..c4daad1dd 100644 --- a/src/bun.js/bindings/JSStringDecoder.cpp +++ b/src/bun.js/bindings/JSStringDecoder.cpp @@ -411,16 +411,6 @@ void JSStringDecoderConstructor::initializeProperties(VM& vm, JSC::JSGlobalObjec { } -JSC::GCClient::IsoSubspace* JSStringDecoderConstructor::subspaceForImpl(JSC::VM& vm) -{ - return WebCore::subspaceForImpl<JSStringDecoderConstructor, UseCustomHeapCellType::No>( - vm, - [](auto& spaces) { return spaces.m_clientSubspaceForStringDecoderConstructor.get(); }, - [](auto& spaces, auto&& space) { spaces.m_clientSubspaceForStringDecoderConstructor = WTFMove(space); }, - [](auto& spaces) { return spaces.m_subspaceForStringDecoderConstructor.get(); }, - [](auto& spaces, auto&& space) { spaces.m_subspaceForStringDecoderConstructor = WTFMove(space); }); -} - const ClassInfo JSStringDecoderConstructor::s_info = { "StringDecoder"_s, &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSStringDecoderConstructor) }; } // namespace Zig |