Skip to content

Commit

Permalink
remove underscore in local names
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwg committed Oct 11, 2018
1 parent 68b00f0 commit a40d85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert/Conversion.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ string wasmdec::Convert::getFName(wasm::Name name) {
}
string wasmdec::Convert::getLocal(wasm::Index argIdx) {
// Convert WASM function locals to C variable names
return "local_" + to_string((int)argIdx);
return "local" + to_string((int)argIdx);
}
string wasmdec::Convert::voidCall(wasm::Function* fn) {
// Call a void function
Expand Down

0 comments on commit a40d85b

Please sign in to comment.