summaryrefslogtreecommitdiff
path: root/src/asm_v_wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm_v_wasm.h')
-rw-r--r--src/asm_v_wasm.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/asm_v_wasm.h b/src/asm_v_wasm.h
index d7e2e5b24..9b2ee7695 100644
--- a/src/asm_v_wasm.h
+++ b/src/asm_v_wasm.h
@@ -23,26 +23,12 @@
namespace wasm {
-Type asmToWasmType(AsmType asmType);
-
AsmType wasmToAsmType(Type type);
char getSig(Type type);
std::string getSig(Function* func);
std::string getSig(Type results, Type params);
-template<typename T,
- typename std::enable_if<std::is_base_of<Expression, T>::value>::type* =
- nullptr>
-std::string getSig(T* call) {
- std::string ret;
- ret += getSig(call->type);
- for (auto operand : call->operands) {
- ret += getSig(operand->type);
- }
- return ret;
-}
-
template<typename ListType>
std::string getSig(Type result, const ListType& operands) {
std::string ret;
@@ -63,9 +49,6 @@ std::string getSigFromStructs(Type result, const ListType& operands) {
return ret;
}
-// converts an f32 to an f64 if necessary
-Expression* ensureDouble(Expression* expr, MixedArena& allocator);
-
} // namespace wasm
#endif // wasm_asm_v_wasm_h