Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/passes/Print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3868,7 +3868,7 @@ printStackInst(StackInst* inst, std::ostream& o, Function* func) {
break;
}
default:
WASM_UNREACHABLE("unexpeted op");
WASM_UNREACHABLE("unexpected op");
}
return o;
}
Expand Down Expand Up @@ -3961,7 +3961,7 @@ static std::ostream& printStackIR(StackIR* ir, PrintSExpression& printer) {
break;
}
default:
WASM_UNREACHABLE("unexpeted op");
WASM_UNREACHABLE("unexpected op");
}
o << '\n';
}
Expand Down
2 changes: 1 addition & 1 deletion src/passes/Souperify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ struct Printer {
std::cout << ", ";
printInternal(node->getValue(2));
} else {
WASM_UNREACHABLE("unexecpted node type");
WASM_UNREACHABLE("unexpected node type");
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/passes/pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void PassRegistry::registerPasses() {
registerPass(
"func-metrics", "reports function metrics", createFunctionMetricsPass);
registerPass("generate-dyncalls",
"generate dynCall fuctions used by emscripten ABI",
"generate dynCall functions used by emscripten ABI",
createGenerateDynCallsPass);
registerPass(
"generate-i64-dyncalls",
Expand Down Expand Up @@ -367,7 +367,7 @@ void PassRegistry::registerPasses() {
"pick load signs based on their uses",
createPickLoadSignsPass);
registerPass(
"poppify", "Tranform Binaryen IR into Poppy IR", createPoppifyPass);
"poppify", "Transform Binaryen IR into Poppy IR", createPoppifyPass);
registerPass("post-emscripten",
"miscellaneous optimizations for Emscripten-generated code",
createPostEmscriptenPass);
Expand Down
4 changes: 2 additions & 2 deletions src/tools/fuzzing/fuzzing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4921,7 +4921,7 @@ Expression* TranslateToFuzzReader::makeAtomic(Type type) {
bytes = pick(1, 2, 4);
break;
default:
WASM_UNREACHABLE("invalide value");
WASM_UNREACHABLE("invalid value");
}
break;
}
Expand All @@ -4940,7 +4940,7 @@ Expression* TranslateToFuzzReader::makeAtomic(Type type) {
bytes = pick(1, 2, 4, 8);
break;
default:
WASM_UNREACHABLE("invalide value");
WASM_UNREACHABLE("invalid value");
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/tools/wasm-fuzz-lattices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ int main(int argc, const char* argv[]) {

Options options("wasm-fuzz-lattices",
"Fuzz lattices for reflexivity, transitivity, and "
"anti-symmetry, and tranfer functions for monotonicity.");
"anti-symmetry, and transfer functions for monotonicity.");

std::optional<uint64_t> seed;
options.add("--seed",
Expand Down
4 changes: 2 additions & 2 deletions test/lit/help/wasm-metadce.test
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --func-metrics reports function metrics
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-dyncalls generate dynCall fuctions used
;; CHECK-NEXT: --generate-dyncalls generate dynCall functions used
;; CHECK-NEXT: by emscripten ABI
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-global-effects generate global effect info
Expand Down Expand Up @@ -347,7 +347,7 @@
;; CHECK-NEXT: --pick-load-signs pick load signs based on their
;; CHECK-NEXT: uses
;; CHECK-NEXT:
;; CHECK-NEXT: --poppify Tranform Binaryen IR into Poppy
;; CHECK-NEXT: --poppify Transform Binaryen IR into Poppy
;; CHECK-NEXT: IR
;; CHECK-NEXT:
;; CHECK-NEXT: --post-emscripten miscellaneous optimizations for
Expand Down
4 changes: 2 additions & 2 deletions test/lit/help/wasm-opt.test
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --func-metrics reports function metrics
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-dyncalls generate dynCall fuctions used
;; CHECK-NEXT: --generate-dyncalls generate dynCall functions used
;; CHECK-NEXT: by emscripten ABI
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-global-effects generate global effect info
Expand Down Expand Up @@ -379,7 +379,7 @@
;; CHECK-NEXT: --pick-load-signs pick load signs based on their
;; CHECK-NEXT: uses
;; CHECK-NEXT:
;; CHECK-NEXT: --poppify Tranform Binaryen IR into Poppy
;; CHECK-NEXT: --poppify Transform Binaryen IR into Poppy
;; CHECK-NEXT: IR
;; CHECK-NEXT:
;; CHECK-NEXT: --post-emscripten miscellaneous optimizations for
Expand Down
4 changes: 2 additions & 2 deletions test/lit/help/wasm2js.test
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --func-metrics reports function metrics
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-dyncalls generate dynCall fuctions used
;; CHECK-NEXT: --generate-dyncalls generate dynCall functions used
;; CHECK-NEXT: by emscripten ABI
;; CHECK-NEXT:
;; CHECK-NEXT: --generate-global-effects generate global effect info
Expand Down Expand Up @@ -311,7 +311,7 @@
;; CHECK-NEXT: --pick-load-signs pick load signs based on their
;; CHECK-NEXT: uses
;; CHECK-NEXT:
;; CHECK-NEXT: --poppify Tranform Binaryen IR into Poppy
;; CHECK-NEXT: --poppify Transform Binaryen IR into Poppy
;; CHECK-NEXT: IR
;; CHECK-NEXT:
;; CHECK-NEXT: --post-emscripten miscellaneous optimizations for
Expand Down
Loading