summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index 337ea3806..344416b54 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -155,7 +155,7 @@ public:
frees[type].pop_back();
} else {
size_t index = temps[type]++;
- ret = IString((std::string("wasm2js_") + printType(type) + "$" +
+ ret = IString((std::string("wasm2js_") + type.toString() + "$" +
std::to_string(index))
.c_str(),
false);