diff --git a/src/workerd/jsg/iterator.h b/src/workerd/jsg/iterator.h index 7981c289103..6e159f3152d 100644 --- a/src/workerd/jsg/iterator.h +++ b/src/workerd/jsg/iterator.h @@ -531,8 +531,6 @@ class SequenceWrapper { // TypeWrapper mixin for Sequences. public: - static auto constexpr MAX_STACK = 64; - template static constexpr const char* getName(Sequence*) { // TODO(later): It would be nicer if the name included the demangled name of U diff --git a/src/workerd/jsg/value.h b/src/workerd/jsg/value.h index 4f2e97cb838..9550fa35177 100644 --- a/src/workerd/jsg/value.h +++ b/src/workerd/jsg/value.h @@ -538,16 +538,6 @@ class StringWrapper { // ======================================================================================= // Optional (value or undefined) and Maybe (value or null) -template -constexpr bool isUnionType(kj::OneOf*) { - return true; -} - -template -constexpr bool isUnionType(T*) { - return false; -} - // TypeWrapper mixin for optionals. template class OptionalWrapper { @@ -842,7 +832,6 @@ class OneOfWrapper { template class ArrayWrapper { public: - static auto constexpr MAX_STACK = 64; template static constexpr const char* getName(kj::Array*) { return "Array"; @@ -917,7 +906,6 @@ class ArrayWrapper { template class SetWrapper { public: - static auto constexpr MAX_STACK = 64; template static constexpr const char* getName(kj::HashSet*) { return "Set";