aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMInstrInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-03-30 18:22:13 +0000
committerChris Lattner <sabre@nondot.org>2008-03-30 18:22:13 +0000
commit2b06cd3076bbc4547d58109722c79b33366d594d (patch)
tree540c5d6ba547c04eee48f2e86ce4f39ffd0c26ed /lib/Target/ARM/ARMInstrInfo.cpp
parent6192ce0a0e5880e48729f9a70a71db52e329b231 (diff)
downloadexternal_llvm-2b06cd3076bbc4547d58109722c79b33366d594d.zip
external_llvm-2b06cd3076bbc4547d58109722c79b33366d594d.tar.gz
external_llvm-2b06cd3076bbc4547d58109722c79b33366d594d.tar.bz2
Fix "Control reaches the end of non-void function" warnings,
patch by David Chisnall. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.cpp')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.cpp b/lib/Target/ARM/ARMInstrInfo.cpp
index 35d6313..10328f7 100644
--- a/lib/Target/ARM/ARMInstrInfo.cpp
+++ b/lib/Target/ARM/ARMInstrInfo.cpp
@@ -919,6 +919,7 @@ unsigned ARM::GetInstSize(MachineInstr *MI) {
}
}
}
+ return 0; // Not reached
}
/// GetFunctionSize - Returns the size of the specified MachineFunction.