summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-03-16 18:01:39 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-03-16 18:01:39 -0700
commita3312f5f2390bf3fe515c99d29d22dff201eeaf9 (patch)
treed3707a6dce139b0ebd78dc8ff2c5b6e470b589b0 /src/wasm.h
parent2e2cbb4e5349fe20209a9e8f4ca740eea6fb9f6f (diff)
parentb25d38b20934cd22955fd86438703139659a3360 (diff)
downloadbinaryen-a3312f5f2390bf3fe515c99d29d22dff201eeaf9.tar.gz
binaryen-a3312f5f2390bf3fe515c99d29d22dff201eeaf9.tar.bz2
binaryen-a3312f5f2390bf3fe515c99d29d22dff201eeaf9.zip
Merge pull request #254 from WebAssembly/spec-binary
More spec binary updates
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 50aeef94b..ed07bf371 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1125,7 +1125,7 @@ public:
Module() : functionTypeIndex(0), importIndex(0), exportIndex(0), functionIndex(0) {}
void addFunctionType(FunctionType* curr) {
- Name numericName = Name::fromInt(functionTypeIndex);
+ Name numericName = Name::fromInt(functionTypeIndex); // TODO: remove all these, assert on names already existing, do numeric stuff in wasm-s-parser etc.
if (curr->name.isNull()) {
curr->name = numericName;
}