Skip to content
Commit 55b3d8b8 authored by Johannes Doerfert's avatar Johannes Doerfert
Browse files

Consistenly use getTypeAllocSize for size estimation.

  Only when we check for wrapping we want to use the store size, for all
  other cases we use the alloc size now.

Suggested by: Tobias Grosser <tobias@grosser.es>

llvm-svn: 252941
parent 1ff9cbdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment