aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigGlobalObject.cpp
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-12-17 15:41:47 -0800
committerGravatar GitHub <noreply@github.com> 2022-12-17 15:41:47 -0800
commitfeea8824f1da05a43f602e8f9f94ff1862c848d0 (patch)
tree0b07b0f02539d99efa500895f6d2a0a69e8514c6 /src/bun.js/bindings/ZigGlobalObject.cpp
parent028e48ed972fa0a05388feab4c6874baab0331c2 (diff)
downloadbun-feea8824f1da05a43f602e8f9f94ff1862c848d0.tar.gz
bun-feea8824f1da05a43f602e8f9f94ff1862c848d0.tar.zst
bun-feea8824f1da05a43f602e8f9f94ff1862c848d0.zip
Delete Oniguruma (#1625)
* Update .gitmodules * Delete oniguruma * Delete Oniguruma * Make this test less flaky * :scissors: Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.cpp')
-rw-r--r--src/bun.js/bindings/ZigGlobalObject.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp
index 1e70fdd99..e8ee74943 100644
--- a/src/bun.js/bindings/ZigGlobalObject.cpp
+++ b/src/bun.js/bindings/ZigGlobalObject.cpp
@@ -167,8 +167,6 @@ using JSBuffer = WebCore::JSBuffer;
#include "webcrypto/JSCryptoKey.h"
#include "webcrypto/JSSubtleCrypto.h"
-#include "OnigurumaRegExp.h"
-
constexpr size_t DEFAULT_ERROR_STACK_TRACE_LIMIT = 10;
#ifdef __APPLE__
@@ -2579,17 +2577,6 @@ void GlobalObject::finishCreation(VM& vm)
init.setConstructor(constructor);
});
- m_OnigurumaRegExpClassStructure.initLater(
- [](LazyClassStructure::Initializer& init) {
- auto* prototype = OnigurumaRegExpConstructor::createPrototype(init.global);
- auto* structure = OnigurumaRegExpConstructor::createClassStructure(init.global, prototype);
- auto* constructor = OnigurumaRegExpConstructor::create(
- init.vm, init.global, OnigurumaRegExpConstructor::createStructure(init.vm, init.global, init.global->functionPrototype()), prototype);
- init.setPrototype(prototype);
- init.setStructure(structure);
- init.setConstructor(constructor);
- });
-
m_callSiteStructure.initLater(
[](LazyClassStructure::Initializer& init) {
auto* prototype = CallSitePrototype::create(init.vm, CallSitePrototype::createStructure(init.vm, init.global, init.global->objectPrototype()), init.global);
@@ -3224,11 +3211,6 @@ void GlobalObject::installAPIGlobals(JSClassRef* globals, int count, JSC::VM& vm
}
{
- JSC::Identifier identifier = JSC::Identifier::fromString(vm, "OnigurumaRegExp"_s);
- object->putDirectCustomAccessor(vm, identifier, JSC::CustomGetterSetter::create(vm, jsFunctionGetOnigurumaRegExpConstructor, nullptr), JSC::PropertyAttribute::CustomAccessor | 0);
- }
-
- {
JSC::Identifier identifier = JSC::Identifier::fromString(vm, "stringHashCode"_s);
object->putDirectNativeFunction(vm, this, identifier, 1, functionHashCode, ImplementationVisibility::Public, NoIntrinsic,
JSC::PropertyAttribute::Function | JSC::PropertyAttribute::DontDelete | 0);
@@ -3362,7 +3344,6 @@ void GlobalObject::visitChildrenImpl(JSCell* cell, Visitor& visitor)
thisObject->m_JSReadableStateClassStructure.visit(visitor);
thisObject->m_JSStringDecoderClassStructure.visit(visitor);
thisObject->m_NapiClassStructure.visit(visitor);
- thisObject->m_OnigurumaRegExpClassStructure.visit(visitor);
thisObject->m_pendingVirtualModuleResultStructure.visit(visitor);
thisObject->m_performMicrotaskFunction.visit(visitor);