From 11a83d799d1b539f7c7a1eec987dc87119a098dd Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Wed, 14 Feb 2018 14:16:14 -0500 Subject: fix some comment typos (#1425) --- src/passes/OptimizeInstructions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/passes/OptimizeInstructions.cpp b/src/passes/OptimizeInstructions.cpp index 8fd98cfda..62c29b184 100644 --- a/src/passes/OptimizeInstructions.cpp +++ b/src/passes/OptimizeInstructions.cpp @@ -553,7 +553,7 @@ struct OptimizeInstructions : public WalkerPassleft; } - // small loads do not need to be masted, the load itself masks + // small loads do not need to be masked, the load itself masks if (auto* load = binary->left->dynCast()) { if ((load->bytes == 1 && mask == 0xff) || (load->bytes == 2 && mask == 0xffff)) { @@ -1073,7 +1073,7 @@ private: } // given an "almost" sign extend - either a proper one, or it - // has too many shifts left - we remove the sig extend. If there are + // has too many shifts left - we remove the sign extend. If there are // too many shifts, we split the shifts first, so this removes the // two sign extend shifts and adds one (smaller one) Expression* removeAlmostSignExt(Binary* outer) { -- cgit v1.2.3