To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 54646a44 authored by Pavel Zakopaylo's avatar Pavel Zakopaylo
Browse files

Removed unnecessary '%' characters in text-IR output

parent 5dec310b
......@@ -136,7 +136,7 @@ instance PrettyPrint KeepAliveClause where
instance PrettyPrint DestinationClause where
ppFormat (DestinationClause dest args) = do
ind <- ask
return $ printf "%s%s(%s)" ind ('%' : pp dest) (pp args)
return $ printf "%s%s(%s)" ind (pp dest) (pp args)
instance PrettyPrint Flag where
ppFormat (Flag s) = do
......@@ -519,8 +519,6 @@ instance PrettyPrint ConstConstructor where
instance PrettyPrint BasicBlock where
ppFormat (BasicBlock name params exec instructions term) = do
-- Why. Is. This. Here. v
--_ <- error "This happened"
ind <- ask
blocks <- local (++ "\t") (printBlocks $ reverse instructions)
termInst <- local (++ "\t") (ppFormat term)
......@@ -528,7 +526,7 @@ instance PrettyPrint BasicBlock where
"%s%s (%s)%s:\n%s%s"
('%' : pp name)
(pp name)
(printParams params)
(printExec exec)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment