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.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/asm_v_wasm.h b/src/asm_v_wasm.h
index 08416ef80..66601cf10 100644
--- a/src/asm_v_wasm.h
+++ b/src/asm_v_wasm.h
@@ -17,8 +17,8 @@
#ifndef wasm_asm_v_wasm_h
#define wasm_asm_v_wasm_h
-#include "mixed_arena.h"
#include "emscripten-optimizer/optimizer.h"
+#include "mixed_arena.h"
#include "wasm.h"
namespace wasm {
@@ -29,13 +29,14 @@ AsmType wasmToAsmType(Type type);
char getSig(Type type);
-std::string getSig(const FunctionType *type);
+std::string getSig(const FunctionType* type);
-std::string getSig(Function *func);
+std::string getSig(Function* func);
template<typename T,
- typename std::enable_if<std::is_base_of<Expression, T>::value>::type* = nullptr>
-std::string getSig(T *call) {
+ 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) {