We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dc0e8c commit 3b838f7Copy full SHA for 3b838f7
1 file changed
src/wasm2js.h
@@ -2772,14 +2772,6 @@ void Wasm2JSGlue::emitPostES6() {
2772
default:
2773
continue;
2774
}
2775
- std::ostringstream export_name;
2776
- for (char c : exp->name.str) {
2777
- if (c == '-') {
2778
- export_name << '_';
2779
- } else {
2780
- export_name << c;
2781
- }
2782
2783
out << "export var " << asmangle(exp->name.toString()) << " = ret"
2784
<< moduleName << "." << asmangle(exp->name.toString()) << ";\n";
2785
0 commit comments