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

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/wasm-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ class Type {
bool isSignature() const;
bool isStruct() const;
bool isArray() const;
bool isException() const;
bool isString() const;
bool isDefaultable() const;

Expand Down Expand Up @@ -377,7 +376,6 @@ class HeapType {
bool isContinuation() const;
bool isStruct() const;
bool isArray() const;
bool isException() const;
bool isString() const;
bool isBottom() const;
bool isOpen() const;
Expand Down
6 changes: 0 additions & 6 deletions src/wasm/wasm-type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -814,10 +814,6 @@ bool Type::isStruct() const { return isRef() && getHeapType().isStruct(); }

bool Type::isArray() const { return isRef() && getHeapType().isArray(); }

bool Type::isException() const {
return isRef() && getHeapType().isException();
}

bool Type::isString() const { return isRef() && getHeapType().isString(); }

bool Type::isDefaultable() const {
Expand Down Expand Up @@ -1148,8 +1144,6 @@ bool HeapType::isArray() const {
}
}

bool HeapType::isException() const { return *this == HeapType::exn; }

bool HeapType::isString() const { return *this == HeapType::string; }

bool HeapType::isBottom() const {
Expand Down