forked from OSchip/llvm-project
[Alignment] Fix deprecation message
This commit is contained in:
parent
d8f651d3e8
commit
49dd8e7991
|
@ -447,11 +447,11 @@ public:
|
|||
|
||||
/// Version of AllocateStack with extra register to be shadowed.
|
||||
LLVM_ATTRIBUTE_DEPRECATED(unsigned AllocateStack(unsigned Size,
|
||||
unsigned Align,
|
||||
unsigned Alignment,
|
||||
unsigned ShadowReg),
|
||||
"Use the version that takes Align instead.") {
|
||||
MarkAllocated(ShadowReg);
|
||||
return AllocateStack(Size, Align);
|
||||
return AllocateStack(Size, Align(Alignment));
|
||||
}
|
||||
|
||||
/// Version of AllocateStack with list of extra registers to be shadowed.
|
||||
|
|
Loading…
Reference in New Issue