Skip to content

Commit d7c3939

Browse files
authored
Merge pull request #6810 from hughbe/wait-inline
Use LLVM_ATTRIBUTE_NOINLINE instead of __attribute__((noinline))
2 parents 275d788 + 397f25e commit d7c3939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/AllocStackHoisting.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ insertDeallocStackAtEndOf(SmallVectorImpl<SILInstruction *> &FunctionExits,
111111
}
112112

113113
/// Hack to workaround a clang LTO bug.
114-
__attribute__((noinline))
114+
LLVM_ATTRIBUTE_NOINLINE
115115
void moveAllocStackToBeginningOfBlock(AllocStackInst* AS, SILBasicBlock *BB) {
116116
AS->removeFromParent();
117117
BB->push_front(AS);

0 commit comments

Comments
 (0)