From 3748ba3a01f81078025b86023833784055d1af57 Mon Sep 17 00:00:00 2001 From: Brian Wignall Date: Tue, 26 Nov 2019 08:26:41 -0500 Subject: Fix typos, using Wikipedia list of common typos --- compiler/nativeGen/RegAlloc/Graph/Spill.hs | 2 +- compiler/nativeGen/RegAlloc/Graph/SpillCost.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/nativeGen/RegAlloc') diff --git a/compiler/nativeGen/RegAlloc/Graph/Spill.hs b/compiler/nativeGen/RegAlloc/Graph/Spill.hs index eccc83eb48..22a88c02c0 100644 --- a/compiler/nativeGen/RegAlloc/Graph/Spill.hs +++ b/compiler/nativeGen/RegAlloc/Graph/Spill.hs @@ -297,7 +297,7 @@ patchInstr patchInstr reg instr = do nUnique <- newUnique - -- The register we're rewriting is suppoed to be virtual. + -- The register we're rewriting is supposed to be virtual. -- If it's not then something has gone horribly wrong. let nReg = case reg of diff --git a/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs b/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs index 52f590948a..4be25a71ba 100644 --- a/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs +++ b/compiler/nativeGen/RegAlloc/Graph/SpillCost.hs @@ -297,7 +297,7 @@ nodeDegree classOfVirtualReg graph reg -- | Show a spill cost record, including the degree from the graph --- and final calulated spill cost. +-- and final calculated spill cost. pprSpillCostRecord :: (VirtualReg -> RegClass) -> (Reg -> SDoc) -- cgit v1.2.1