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:
1130a79
)
Fix improperly formed assert() call.
author
Jim Grosbach
<grosbach@apple.com>
Mon, 17 Oct 2011 20:22:59 +0000
(20:22 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Mon, 17 Oct 2011 20:22:59 +0000
(20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142239
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
b/lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
index 3f26ed15b284e6095e9b67dcd564471003637db1..ad9247df50b6812a7317a16a103dc7c804f20aa7 100644
(file)
--- a/
lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
+++ b/
lib/Target/MBlaze/MBlazeELFWriterInfo.cpp
@@
-105,7
+105,7
@@
long int MBlazeELFWriterInfo::computeRelocation(unsigned SymOffset,
if (RelTy == ELF::R_MICROBLAZE_32_PCREL || ELF::R_MICROBLAZE_64_PCREL)
return SymOffset - (RelOffset + 4);
else
- assert("computeRelocation unknown for this relocation type");
+ assert(
0 &&
"computeRelocation unknown for this relocation type");
return 0;
}