diff --git a/src/wasm-type.h b/src/wasm-type.h index a120a70536b..5b2074e1c19 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -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; diff --git a/src/wasm/wasm-type.cpp b/src/wasm/wasm-type.cpp index ef1fb108ff1..232bf090701 100644 --- a/src/wasm/wasm-type.cpp +++ b/src/wasm/wasm-type.cpp @@ -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;