summaryrefslogtreecommitdiff
path: root/src/wasm
diff options
context:
space:
mode:
authorAlon Zakai (kripken) <alonzakai@gmail.com>2017-07-31 13:39:46 -0700
committerAlon Zakai (kripken) <alonzakai@gmail.com>2017-07-31 13:39:46 -0700
commitbfdbc0c3f6a835231b218a60ddd6b52f7e9affed (patch)
tree33c7f9e53bf6c52b1eca1b9b6f234a6d184aaf56 /src/wasm
parent4aa3463a6b98e41070d03ddbe60e689537b02b59 (diff)
downloadbinaryen-bfdbc0c3f6a835231b218a60ddd6b52f7e9affed.tar.gz
binaryen-bfdbc0c3f6a835231b218a60ddd6b52f7e9affed.tar.bz2
binaryen-bfdbc0c3f6a835231b218a60ddd6b52f7e9affed.zip
review comments
Diffstat (limited to 'src/wasm')
-rw-r--r--src/wasm/wasm-binary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp
index ac8df5711..1bc5ada94 100644
--- a/src/wasm/wasm-binary.cpp
+++ b/src/wasm/wasm-binary.cpp
@@ -2073,7 +2073,7 @@ void WasmBinaryBuilder::visitBlock(Block *curr) {
auto* item = expressionStack[i];
curr->list.push_back(item);
if (i < end - 1) {
- // stacky&unreachable code may introduce elements that need to be dropped in non-final positoins
+ // stacky&unreachable code may introduce elements that need to be dropped in non-final positions
if (isConcreteWasmType(item->type)) {
curr->list.back() = Builder(wasm).makeDrop(curr->list.back());
}