summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-19 09:05:13 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-19 09:05:13 -0800
commitc743580ccc6e34dc498cd0a8ed24c6aaeee119ec (patch)
tree964c4ff2d41e01ac70e3c5fbd0c4d4e1ede51b63 /src
parent8c19c7eefe4980cfba39e835fd6ab7bb95c3f9ad (diff)
downloadbinaryen-c743580ccc6e34dc498cd0a8ed24c6aaeee119ec.tar.gz
binaryen-c743580ccc6e34dc498cd0a8ed24c6aaeee119ec.tar.bz2
binaryen-c743580ccc6e34dc498cd0a8ed24c6aaeee119ec.zip
remove old debug code from s2wasm ; closes #14
Diffstat (limited to 'src')
-rw-r--r--src/s2wasm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 449b6f56c..39100f01d 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -948,13 +948,12 @@ public:
// find asmConst calls, and emit their metadata
struct AsmConstWalker : public WasmWalker {
S2WasmBuilder* parent;
- std::ostream& o;
std::map<std::string, std::set<std::string>> sigsForCode;
std::map<std::string, size_t> ids;
std::set<std::string> allSigs;
- AsmConstWalker(S2WasmBuilder* parent) : parent(parent), o(o) {}
+ AsmConstWalker(S2WasmBuilder* parent) : parent(parent) {}
void visitCallImport(CallImport* curr) override {
if (curr->target == EMSCRIPTEN_ASM_CONST) {