diff options
Diffstat (limited to 'lib/Target/X86/X86WinAllocaExpander.cpp')
| -rw-r--r-- | lib/Target/X86/X86WinAllocaExpander.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86WinAllocaExpander.cpp b/lib/Target/X86/X86WinAllocaExpander.cpp index cc82074e685f..fc08f1582ad7 100644 --- a/lib/Target/X86/X86WinAllocaExpander.cpp +++ b/lib/Target/X86/X86WinAllocaExpander.cpp @@ -63,7 +63,7 @@ private: unsigned SlotSize; int64_t StackProbeSize; - const char *getPassName() const override { return "X86 WinAlloca Expander"; } + StringRef getPassName() const override { return "X86 WinAlloca Expander"; } static char ID; }; @@ -225,6 +225,7 @@ void X86WinAllocaExpander::lower(MachineInstr* MI, Lowering L) { break; // Fall through to make any remaining adjustment. + LLVM_FALLTHROUGH; case Sub: assert(Amount > 0); if (Amount == SlotSize) { |
