diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-05-23 11:57:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-23 11:57:32 -0700 |
commit | eabf9ed363ebc3c889ea53da5dab1961ea21e5c4 (patch) | |
tree | a6082a2b39a942e5853d9bc48dc14ed2eaf673db /src/wasm/wasm.cpp | |
parent | b1ecf05b3303fda057dcd87e46e75cb779d97f7d (diff) | |
download | binaryen-eabf9ed363ebc3c889ea53da5dab1961ea21e5c4.tar.gz binaryen-eabf9ed363ebc3c889ea53da5dab1961ea21e5c4.tar.bz2 binaryen-eabf9ed363ebc3c889ea53da5dab1961ea21e5c4.zip |
Factor out elementStartsWith (NFC) (#2137)
Checking if a first string matches a certain string within a list
element appears many times within the parser, so extracted it as a
helper function.
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index 6afc22309..c72103ebe 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -81,6 +81,7 @@ Name MUT("mut"); Name SPECTEST("spectest"); Name PRINT("print"); Name EXIT("exit"); +Name SHARED("shared"); // Expressions |