diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h index edcda4219..63a6fe79c 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -62,6 +62,8 @@ struct Address { } }; +enum class IRProfile { Normal, Poppy }; + // Operators enum UnaryOp { @@ -1262,6 +1264,7 @@ class Function : public Importable { public: Name name; Signature sig; // parameters and return value + IRProfile profile = IRProfile::Normal; std::vector<Type> vars; // non-param locals // The body of the function |