summaryrefslogtreecommitdiff
path: root/src/tools/spec-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/spec-wrapper.h')
-rw-r--r--src/tools/spec-wrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/spec-wrapper.h b/src/tools/spec-wrapper.h
index 366e8d4fc..95ead4739 100644
--- a/src/tools/spec-wrapper.h
+++ b/src/tools/spec-wrapper.h
@@ -32,7 +32,7 @@ inline std::string generateSpecWrapper(Module& wasm) {
continue; // something exported other than a function
}
ret += std::string("(invoke \"hangLimitInitializer\") (invoke \"") +
- exp->name.str + "\" ";
+ exp->name.toString() + "\" ";
for (const auto& param : func->getParams()) {
// zeros in arguments TODO more?
TODO_SINGLE_COMPOUND(param);