x86: Add missing break to getCallPreservedMask()
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 14 Mar 2014 16:29:21 +0000 (16:29 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 14 Mar 2014 16:29:21 +0000 (16:29 +0000)
commit4fc4769a534d065b04bce0a70a12b38faa781880
tree785e781c0eeaa0176dc8052618ae19d80e98c7b5
parent71e585e4ce89ed339ae88a979b9bce342ef6aba6
x86: Add missing break to getCallPreservedMask()

This change brings getCallPreservedMask()'s logic in line with
getCalleeSavedRegs().

While this changes the control flow slightly, the change is not
currently observable.  is64Bit must be false to get to the accidental
fallthrough, but the case that we fall into (coldcc) does nothing unless
is64Bit is true.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203943 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp