summaryrefslogtreecommitdiff
path: root/src/ir/table-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/table-utils.h')
-rw-r--r--src/ir/table-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir/table-utils.h b/src/ir/table-utils.h
index da0bb7241..80ffc0c06 100644
--- a/src/ir/table-utils.h
+++ b/src/ir/table-utils.h
@@ -94,6 +94,10 @@ inline Index getOrAppend(Table& table, Name name, Module& wasm) {
return append(table, name, wasm);
}
+// Functions that we take a reference to, but are not in a Table, but get an
+// "elem declare" mention in the text and binary formats.
+std::set<Name> getFunctionsNeedingElemDeclare(Module& wasm);
+
} // namespace TableUtils
} // namespace wasm