Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Sep 12, 2024
1 parent a04e713 commit f7f0f5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/wasm-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,7 @@ class Type {
}
}

bool isSignature() const {
return isRef() && getHeapType().isSignature();
}
bool isSignature() const { return isRef() && getHeapType().isSignature(); }

// Whether this type is only inhabited by null values.
bool isNull() const;
Expand Down
4 changes: 3 additions & 1 deletion src/wasm/wasm-type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,9 @@ Type markTemp(Type type) {
return type;
}

bool isTemp(Type type) { return !type.isBasic() && Type::getTypeInfo(type)->isTemp; }
bool isTemp(Type type) {
return !type.isBasic() && Type::getTypeInfo(type)->isTemp;
}

bool isTemp(HeapType type) {
return !type.isBasic() && getHeapTypeInfo(type)->isTemp;
Expand Down

0 comments on commit f7f0f5c

Please sign in to comment.