@@ -26,7 +26,7 @@ namespace wasm::analysis {
2626
2727// When collecting results, the transfer function takes the states and converts
2828// it into a map of LocalGets to LocalSets which affect it. The fictitious
29- // inital value LocalSetes will be converted to nullptrs.
29+ // initial value LocalSetes will be converted to nullptrs.
3030
3131class ReachingDefinitionsTransferFunction
3232 : public VisitorTransferFunc<ReachingDefinitionsTransferFunction,
@@ -44,7 +44,7 @@ class ReachingDefinitionsTransferFunction
4444 // LocalGraph members we need to update.
4545 LocalGraph::GetSetsMap& getSetsMap;
4646
47- // Fictitious LocalSet objects to reprsent a local index obtaining its value
47+ // Fictitious LocalSet objects to represent a local index obtaining its value
4848 // from its default initial value or parameter value.
4949 std::vector<LocalSet> fakeInitialValueSets;
5050
@@ -54,7 +54,7 @@ class ReachingDefinitionsTransferFunction
5454 // Helper function which creates fictitious LocalSets for a function,
5555 // inserts them into fakeInitialValueSets and fakeSetPtrs. It returns a
5656 // vector of actual LocalSets in the function and fictitious LocalSets for
57- // use when instatitating the lattice.
57+ // use when instantiating the lattice.
5858 static std::vector<LocalSet*>
5959 listLocalSets (Function* func,
6060 std::vector<LocalSet>& fakeInitialValueSets,
0 commit comments