aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-11-20 06:19:13 +0000
committerBill Wendling <isanbard@gmail.com>2013-11-20 06:19:13 +0000
commit3773bef110790fbeeb386b083bdf8ad16bbceb91 (patch)
tree482a88b1abe372c027b02eb69d4a51c35db81ee0 /lib/CodeGen
parent2af1d85c5deef2abca4e16d695f15a6bc8dec58a (diff)
downloadexternal_llvm-3773bef110790fbeeb386b083bdf8ad16bbceb91.zip
external_llvm-3773bef110790fbeeb386b083bdf8ad16bbceb91.tar.gz
external_llvm-3773bef110790fbeeb386b083bdf8ad16bbceb91.tar.bz2
Merging r195138:
------------------------------------------------------------------------ r195138 | atrick | 2013-11-19 10:29:45 -0800 (Tue, 19 Nov 2013) | 3 lines Obvious pasto survived a couple rounds of cleanup. Caught by Aaron Ballman. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/StackMaps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/StackMaps.cpp b/lib/CodeGen/StackMaps.cpp
index 86e51a1..40893ea 100644
--- a/lib/CodeGen/StackMaps.cpp
+++ b/lib/CodeGen/StackMaps.cpp
@@ -298,8 +298,7 @@ void StackMaps::serializeToStackMapSection() {
}
}
else {
- assert((Loc.LocType != Location::Register
- && Loc.LocType != Location::Register) &&
+ assert(Loc.LocType != Location::Register &&
"Missing location register");
}
AP.OutStreamer.EmitIntValue(Loc.LocType, 1);