From f7f0f5c47fa15f33bf83de5cf79d10ed383ca4f3 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 12 Sep 2024 09:10:34 -0700 Subject: [PATCH] format --- src/wasm-type.h | 4 +--- src/wasm/wasm-type.cpp | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) 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;