[cfe-commits] r48387 - /cfe/trunk/Analysis/GRExprEngine.cpp
Ted Kremenek
kremenek at apple.com
Fri Mar 14 20:13:55 PDT 2008
Author: kremenek
Date: Fri Mar 14 22:13:55 2008
New Revision: 48387
URL: http://llvm.org/viewvc/llvm-project?rev=48387&view=rev
Log:
Compute alignment in bytes, not bits.
Modified:
cfe/trunk/Analysis/GRExprEngine.cpp
Modified: cfe/trunk/Analysis/GRExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/GRExprEngine.cpp?rev=48387&r1=48386&r2=48387&view=diff
==============================================================================
--- cfe/trunk/Analysis/GRExprEngine.cpp (original)
+++ cfe/trunk/Analysis/GRExprEngine.cpp Fri Mar 14 22:13:55 2008
@@ -745,7 +745,7 @@
}
else // Get alignment of the type.
- amt = getContext().getTypeAlign(T);
+ amt = getContext().getTypeAlign(T) / 8;
Nodify(Dst, Ex, Pred,
SetRVal(GetState(Pred), Ex,
More information about the cfe-commits
mailing list