diff options
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r-- | src/s2wasm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h index 074656aca..4811632b1 100644 --- a/src/s2wasm.h +++ b/src/s2wasm.h @@ -242,7 +242,7 @@ private: return cashew::IString(str.c_str(), false); } - std::vector<char> getQuoted() { // TODO: support 0 in the middle, etc., use a raw buffer, etc. + std::vector<char> getQuoted() { assert(*s == '"'); s++; std::vector<char> str; @@ -577,7 +577,6 @@ private: if (wasm.functionTypesMap.count(typeName) == 0) { auto type = allocator.alloc<FunctionType>(); type->name = typeName; - // TODO type->result for (auto operand : call->operands) { type->params.push_back(operand->type); } |