Skip to content

Commit 8cb2043

Browse files
committed
Whitespace only
1 parent a14d9a0 commit 8cb2043

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

heapster-saw/src/Verifier/SAW/Heapster/TypedCrucible.hs

+12-12
Original file line numberDiff line numberDiff line change
@@ -2009,7 +2009,7 @@ explore ::
20092009
CruCtx args ->
20102010
CruCtx ghosts ->
20112011
MbValuePerms ((tops :++: args) :++: ghosts) ->
2012-
2012+
20132013
(RAssign ExprVar tops -> RAssign ExprVar args -> RAssign ExprVar ghosts ->
20142014
DistPerms ((tops :++: args) :++: ghosts) ->
20152015
PermCheckM ext cblocks blocks tops ret r1 ps r2 ((tops :++: args)
@@ -2029,7 +2029,7 @@ explore names entryID topCtx argCtx ghostCtx mb_perms_in m =
20292029
(tops_ns, args_ns) = RL.split Proxy args_prxs tops_args
20302030
st :: PermCheckState ext blocks tops ret ((tops :++: args) :++: ghosts)
20312031
st = emptyPermCheckState (distPermSet perms_in) tops_ns entryID local_names in
2032-
2032+
20332033
setVarTypes tops_ns topCtx >>>
20342034
modify (\s->s{ stPPInfo = ppInfoApplyAllocation tops_ns topDbgs (stPPInfo st)}) >>>
20352035
modify (\s->s{ stPPInfo = ppInfoApplyAllocation args_ns argDbgs (stPPInfo st)}) >>>
@@ -2225,8 +2225,8 @@ getAtomicLLVMPerms r =
22252225
Right ps -> pure ps
22262226
Left e ->
22272227
permGetPPInfo >>>= \ppinfo ->
2228-
stmtFailM $ AtomicPermError
2229-
(permPretty ppinfo r)
2228+
stmtFailM $ AtomicPermError
2229+
(permPretty ppinfo r)
22302230
(permPretty ppinfo (ValPerm_Eq $ PExpr_LLVMWord e))
22312231

22322232

@@ -2344,7 +2344,7 @@ allocateDebugNames base (ds :>: Constant dbg) (CruCtxCons ts tp) ppi =
23442344
(Just b,_) -> b ++ "_" ++ typeBaseName tp
23452345
(Nothing,Nothing) -> typeBaseName tp
23462346

2347-
2347+
23482348
allocateDebugNamesM ::
23492349
Maybe String -> -- ^ The base name of the variable (e.g., "top", "arg", etc.)
23502350
RAssign (Constant (Maybe String)) tps ->
@@ -3184,7 +3184,7 @@ tcEmitLLVMSetExpr ctx loc (LLVM_PointerExpr w blk_reg off_reg) =
31843184
emitLLVMStmt knownRepr name loc (ConstructLLVMWord toff_reg) >>>= \x ->
31853185
stmtRecombinePerms >>>
31863186
pure (addCtxName ctx x)
3187-
_ ->
3187+
_ ->
31883188
permGetPPInfo >>>= \ppinfo ->
31893189
stmtFailM $ NonZeroPointerBlockError (permPretty ppinfo tblk_reg)
31903190

@@ -3503,8 +3503,8 @@ tcEmitLLVMStmt _arch ctx loc (LLVM_Alloca w _ sz_reg _ _) =
35033503
stmtFailM $ AllocaError (AllocaNonConstantError $ permPretty ppinfo sz_treg)
35043504
(Just fp, p, _) ->
35053505
permGetPPInfo >>>= \ppinfo ->
3506-
stmtFailM $ AllocaError $ AllocaFramePermError
3507-
(permPretty ppinfo fp)
3506+
stmtFailM $ AllocaError $ AllocaFramePermError
3507+
(permPretty ppinfo fp)
35083508
(permPretty ppinfo p)
35093509
(Nothing, _, _) ->
35103510
stmtFailM $ AllocaError AllocaFramePtrError
@@ -3745,7 +3745,7 @@ tcEmitLLVMStmt _arch ctx loc (LLVM_PtrEq _ (r1 :: Reg ctx (LLVMPointerType wptr)
37453745
-- fail, because there is no way to compare pointers in the translation
37463746
_ ->
37473747
permGetPPInfo >>>= \ppinfo ->
3748-
stmtFailM $ PointerComparisonError
3748+
stmtFailM $ PointerComparisonError
37493749
(permPretty ppinfo x1)
37503750
(permPretty ppinfo x2)
37513751

@@ -4462,13 +4462,13 @@ instance ErrorPretty StmtError where
44624462
pretty "Could not cast" <+> docx <+>
44634463
pretty "from" <+> pretty (show tp1) <+>
44644464
pretty "to" <+> pretty (show tp2)
4465-
ppError FailedAssertionError =
4465+
ppError FailedAssertionError =
44664466
"Failed assertion"
44674467
ppError (NonZeroPointerBlockError tblk_reg) = renderDoc $
44684468
pretty "LLVM_PointerExpr: Non-zero pointer block: " <> tblk_reg
4469-
ppError (UndefinedBehaviorError doc) =
4469+
ppError (UndefinedBehaviorError doc) =
44704470
renderDoc doc
4471-
ppError X86ExprError =
4471+
ppError X86ExprError =
44724472
"X86Expr not supported"
44734473
ppError (AllocaError (AllocaNonConstantError sz_treg)) = renderDoc $
44744474
pretty "LLVM_Alloca: non-constant size for" <+>

0 commit comments

Comments
 (0)