diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-27 17:53:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-27 17:53:58 -0700 |
commit | f0a4f15dc27ffff9505503a8168854b7662b2657 (patch) | |
tree | 9ed1b23b55c86f8fa1aee285bfdde9d47c2f1ae8 /src | |
parent | 3e99796818f8a774e9c88a5d04aadfe12846ee36 (diff) | |
download | binaryen-f0a4f15dc27ffff9505503a8168854b7662b2657.tar.gz binaryen-f0a4f15dc27ffff9505503a8168854b7662b2657.tar.bz2 binaryen-f0a4f15dc27ffff9505503a8168854b7662b2657.zip |
cleanups following review comments
Diffstat (limited to 'src')
-rw-r--r-- | src/asm2wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 9e7bc7979..f905d2047 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -222,7 +222,7 @@ private: void noteImportedFunctionCall(Ref ast, WasmType resultType, AsmData *asmData, CallImport* call) { assert(ast[0] == CALL && ast[1][0] == NAME); IString importName = ast[1][1]->getIString(); - std::unique_ptr<FunctionType> type = make_unique<FunctionType>(); + auto type = make_unique<FunctionType>(); type->name = IString((std::string("type$") + importName.str).c_str(), false); // TODO: make a list of such types type->result = resultType; Ref args = ast[2]; |