diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-10-03 16:40:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-03 16:40:18 -0700 |
commit | d19721bc110f0c4545eeaed825de99f963834a0a (patch) | |
tree | 100278897d5488b23206df5a957c368b60d2f224 /src/wasm-linker.h | |
parent | eab1c956d2dbdcc83a861c94f95662bfc0af38cc (diff) | |
download | binaryen-d19721bc110f0c4545eeaed825de99f963834a0a.tar.gz binaryen-d19721bc110f0c4545eeaed825de99f963834a0a.tar.bz2 binaryen-d19721bc110f0c4545eeaed825de99f963834a0a.zip |
Refactor Import::Kind and Export::Kind into an ExternalKind enum class (#725)
Diffstat (limited to 'src/wasm-linker.h')
-rw-r--r-- | src/wasm-linker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-linker.h b/src/wasm-linker.h index 015e3a085..2a6e3c01a 100644 --- a/src/wasm-linker.h +++ b/src/wasm-linker.h @@ -294,7 +294,7 @@ class Linker { if (out.wasm.checkExport(name)) return; // Already exported auto exp = new Export; exp->name = exp->value = name; - exp->kind = Export::Function; + exp->kind = ExternalKind::Function; out.wasm.addExport(exp); } |