projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45a4399
)
Fix warning
author
Chris Lattner
<sabre@nondot.org>
Fri, 20 Dec 2002 04:13:28 +0000
(
04:13
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 20 Dec 2002 04:13:28 +0000
(
04:13
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5109
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86RegisterInfo.cpp
b/lib/Target/X86/X86RegisterInfo.cpp
index 9fcec8ce2e3c5dfbd03cb83cae819998cb59d657..5625d452c5ce15dfc43325bb89996b8b8e626014 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.cpp
+++ b/
lib/Target/X86/X86RegisterInfo.cpp
@@
-14,12
+14,12
@@
unsigned getIdx(unsigned dataSize) {
switch (dataSize) {
+ default: assert(0 && "Invalid data size!");
case 1: return 0;
case 2: return 1;
case 4: return 2;
// FIXME: longs handled as ints
case 8: return 2;
- default: assert(0 && "Invalid data size!");
}
}