summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2013-11-19 18:29:45 +0000
committerAndrew Trick <atrick@apple.com>2013-11-19 18:29:45 +0000
commite6bf45cdaec2138173eb728e441d8a2f9d49b65d (patch)
treee3a8fdf452c64a3a2f70d748c2f3b0b66ea20972 /llvm/lib/CodeGen/StackMaps.cpp
parent48a44d46219b0f0aa170d97853310839d5081eff (diff)
downloadbcm5719-llvm-e6bf45cdaec2138173eb728e441d8a2f9d49b65d.tar.gz
bcm5719-llvm-e6bf45cdaec2138173eb728e441d8a2f9d49b65d.zip
Obvious pasto survived a couple rounds of cleanup.
Caught by Aaron Ballman. llvm-svn: 195138
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
-rw-r--r--llvm/lib/CodeGen/StackMaps.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp
index 86e51a1c797..40893ea247f 100644
--- a/llvm/lib/CodeGen/StackMaps.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud