diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-10-22 18:57:05 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-10-22 18:57:05 +0000 |
commit | 21abfc94505063e8df54c718b526eb779fd85231 (patch) | |
tree | 8c2bcffa226724bca2afadae48332a0852fe2b3b | |
parent | 401c916c8aba7f48d8ed153be07fa9baac7b88f8 (diff) | |
download | bcm5719-llvm-21abfc94505063e8df54c718b526eb779fd85231.tar.gz bcm5719-llvm-21abfc94505063e8df54c718b526eb779fd85231.zip |
Silence compiler warnings.
llvm-svn: 117128
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 322078955df..85d28f9b044 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -1264,8 +1264,12 @@ CCAssignFn *ARMFastISel::CCAssignFnForCall(CallingConv::ID CC, bool Return) { switch (CC) { default: llvm_unreachable("Unsupported calling convention"); - case CallingConv::C: case CallingConv::Fast: + // Ignore fastcc. Silence compiler warnings. + (void)RetFastCC_ARM_APCS; + (void)FastCC_ARM_APCS; + // Fallthrough + case CallingConv::C: // Use target triple & subtarget features to do actual dispatch. if (Subtarget->isAAPCS_ABI()) { if (Subtarget->hasVFP2() && |