Skip to content

Commit

Permalink
Remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chameco committed Aug 7, 2020
1 parent 06b13b8 commit ec14bd3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crucible-llvm/src/Lang/Crucible/LLVM/ArraySizeProfile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,6 @@ ptrAllocSize mem (C.llvmPointerView -> (blk, _)) = msum $ inAlloc <$> G.memAlloc
, Just a == W4.asNat blk =
fromIntegral <$> BV.asUnsigned <$> W4.asBV sz
| otherwise = Nothing
-- ptrAllocSize mem (C.llvmPointerView -> (blk, _)) = msum $ inAlloc <$> G.memAllocs mem
-- where
-- inAlloc :: G.MemAlloc sym -> Maybe Int
-- inAlloc memAlloc
-- | G.Alloc _ a (Just sz) _ _ _ <- memAlloc
-- , Just a == W4.asNat blk =
-- fromIntegral <$> W4.asUnsignedBV sz
-- | otherwise = Nothing

ptrArraySize ::
C.IsSymInterface sym =>
Expand Down

0 comments on commit ec14bd3

Please sign in to comment.