summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-10-11 16:15:15 -0700
committerGitHub <noreply@github.com>2016-10-11 16:15:15 -0700
commit85900965a12a3f07c9cca8ef620d4bee039f16fc (patch)
tree184203f372600d547705ce3d11b616d52ad522aa /src/passes/Print.cpp
parent1dbdfff8e997f74154dfebce124756e415aa431a (diff)
parent943fd287247f9d23d463a24e8eb4b0f666900c43 (diff)
downloadbinaryen-85900965a12a3f07c9cca8ef620d4bee039f16fc.tar.gz
binaryen-85900965a12a3f07c9cca8ef620d4bee039f16fc.tar.bz2
binaryen-85900965a12a3f07c9cca8ef620d4bee039f16fc.zip
Merge pull request #757 from WebAssembly/js-api
Tiny fixes for native wasm support
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 33b5f5d16..075d013e5 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -615,7 +615,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
void printTableHeader(Table* curr) {
printOpening(o, "table") << ' ';
o << curr->initial;
- if (curr->max && curr->max != Table::kMaxSize) o << ' ' << curr->max;
+ if (curr->max != Table::kMaxSize) o << ' ' << curr->max;
o << " anyfunc)";
}
void visitTable(Table *curr) {