Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/workerd/jsg/iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,6 @@ class SequenceWrapper {
// TypeWrapper mixin for Sequences.

public:
static auto constexpr MAX_STACK = 64;

template <typename U>
static constexpr const char* getName(Sequence<U>*) {
// TODO(later): It would be nicer if the name included the demangled name of U
Expand Down
12 changes: 0 additions & 12 deletions src/workerd/jsg/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -538,16 +538,6 @@ class StringWrapper {
// =======================================================================================
// Optional (value or undefined) and Maybe (value or null)

template <typename... T>
constexpr bool isUnionType(kj::OneOf<T...>*) {
return true;
}

template <typename T>
constexpr bool isUnionType(T*) {
return false;
}

// TypeWrapper mixin for optionals.
template <typename TypeWrapper>
class OptionalWrapper {
Expand Down Expand Up @@ -842,7 +832,6 @@ class OneOfWrapper {
template <typename TypeWrapper>
class ArrayWrapper {
public:
static auto constexpr MAX_STACK = 64;
template <typename U>
static constexpr const char* getName(kj::Array<U>*) {
return "Array";
Expand Down Expand Up @@ -917,7 +906,6 @@ class ArrayWrapper {
template <typename TypeWrapper>
class SetWrapper {
public:
static auto constexpr MAX_STACK = 64;
template <typename U>
static constexpr const char* getName(kj::HashSet<U>*) {
return "Set";
Expand Down