summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index a7a2e0b1e..24138c99d 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -2072,6 +2072,12 @@ public:
delimiterLocations;
BinaryLocations::FunctionLocations funcLocation;
+ // Inlining metadata: whether to disallow full and/or partial inlining (for
+ // details on what those mean, see Inlining.cpp).
+ bool noFullInline = false;
+ bool noPartialInline = false;
+
+ // Methods
Signature getSig() { return type.getSignature(); }
Type getParams() { return getSig().params; }
Type getResults() { return getSig().results; }