summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-11-06 10:57:44 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-11-06 10:57:44 -0800
commit74363f311d7fd4c2ead5bd6fcdcdb58648640864 (patch)
treefb5a0ca25740890f570085a6e036a60387115bd2 /src/wasm.h
parentbbd01fb6f40d315b24e061c6a99e5eb72ba33322 (diff)
downloadbinaryen-74363f311d7fd4c2ead5bd6fcdcdb58648640864.tar.gz
binaryen-74363f311d7fd4c2ead5bd6fcdcdb58648640864.tar.bz2
binaryen-74363f311d7fd4c2ead5bd6fcdcdb58648640864.zip
set max memory default to -1
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index febbcd052..c2d8a1faf 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -882,7 +882,7 @@ public:
size_t initial, max;
std::vector<Segment> segments;
- Memory() : initial(0), max(0) {}
+ Memory() : initial(0), max(-1) {}
};
class Module {