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:
d45e37a
)
Fix an overzealous assertion. It is legitimate for a target to have multiple fixups...
author
Owen Anderson
<resistor@mac.com>
Thu, 5 Jul 2012 22:30:42 +0000
(22:30 +0000)
committer
Owen Anderson
<resistor@mac.com>
Thu, 5 Jul 2012 22:30:42 +0000
(22:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159785
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/MC/MCAssembler.h
patch
|
blob
|
history
diff --git
a/include/llvm/MC/MCAssembler.h
b/include/llvm/MC/MCAssembler.h
index 4ab7f91f72a5b6325ae0029688c5eef7e44d74d6..b7b2d663f4cc40425601b3215d7670079c89f32b 100644
(file)
--- a/
include/llvm/MC/MCAssembler.h
+++ b/
include/llvm/MC/MCAssembler.h
@@
-130,7
+130,7
@@
public:
void addFixup(MCFixup Fixup) {
// Enforce invariant that fixups are in offset order.
- assert((Fixups.empty() || Fixup.getOffset() > Fixups.back().getOffset()) &&
+ assert((Fixups.empty() || Fixup.getOffset() >
=
Fixups.back().getOffset()) &&
"Fixups must be added in order!");
Fixups.push_back(Fixup);
}