Hopefully fix android i386 build after r242554.
That platform has alignof(uint64_t) == 4, but, since LLVM_ALIGNAS(...) cannot take anything but literal integers due to MSVC limitations, the literal '8' used there didn't match. Switch ScopeStackAlignment to just use 8, as well. llvm-svn: 242578
This commit is contained in:
parent
3b3380ec44
commit
8041e59370
|
@ -96,7 +96,8 @@ enum CleanupKind : unsigned {
|
||||||
/// and catch blocks.
|
/// and catch blocks.
|
||||||
class EHScopeStack {
|
class EHScopeStack {
|
||||||
public:
|
public:
|
||||||
enum { ScopeStackAlignment = llvm::AlignOf<uint64_t>::Alignment };
|
/* Should switch to alignof(uint64_t) instead of 8, when EHCleanupScope can */
|
||||||
|
enum { ScopeStackAlignment = 8 };
|
||||||
|
|
||||||
/// A saved depth on the scope stack. This is necessary because
|
/// A saved depth on the scope stack. This is necessary because
|
||||||
/// pushing scopes onto the stack invalidates iterators.
|
/// pushing scopes onto the stack invalidates iterators.
|
||||||
|
|
Loading…
Reference in New Issue