Mercurial > hg > CbC > CbC_llvm
diff lib/CodeGen/SafeStackLayout.cpp @ 134:3a76565eade5 LLVM5.0.1
update 5.0.1
author | mir3636 |
---|---|
date | Sat, 17 Feb 2018 09:57:20 +0900 |
parents | 803732b1fca8 |
children | c2174574ed3a |
line wrap: on
line diff
--- a/lib/CodeGen/SafeStackLayout.cpp Fri Feb 16 19:10:49 2018 +0900 +++ b/lib/CodeGen/SafeStackLayout.cpp Sat Feb 17 09:57:20 2018 +0900 @@ -42,6 +42,7 @@ void StackLayout::addObject(const Value *V, unsigned Size, unsigned Alignment, const StackColoring::LiveRange &Range) { StackObjects.push_back({V, Size, Alignment, Range}); + ObjectAlignments[V] = Alignment; MaxAlignment = std::max(MaxAlignment, Alignment); }