diff options
| author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-07-11 23:18:32 +0000 |
|---|---|---|
| committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-07-11 23:18:32 +0000 |
| commit | 1cbd039234ccc39f8a4fee662cc55da9314ea4ba (patch) | |
| tree | 5abd67cf1c452eb4d07c1c8d799a94213f9ec999 /llvm/lib | |
| parent | e75aa6f674ce90570fba9e5a3600535cba12a016 (diff) | |
| download | bcm5719-llvm-1cbd039234ccc39f8a4fee662cc55da9314ea4ba.tar.gz bcm5719-llvm-1cbd039234ccc39f8a4fee662cc55da9314ea4ba.zip | |
Attempt to make buildbots happy.
Woohoo, unused variable warnings in builds without asserts (as a result
of r275122).
llvm-svn: 275126
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/CFLGraph.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/CFLGraph.h b/llvm/lib/Analysis/CFLGraph.h index 24d6710ffcb..57bea5ffd82 100644 --- a/llvm/lib/Analysis/CFLGraph.h +++ b/llvm/lib/Analysis/CFLGraph.h @@ -108,11 +108,10 @@ public: } void addEdge(Node From, Node To, int64_t Offset = 0) { + assert(getNode(To) != nullptr); + auto *FromInfo = getNode(From); assert(FromInfo != nullptr); - auto *ToInfo = getNode(To); - assert(ToInfo != nullptr); - FromInfo->Edges.push_back(Edge{To}); } |

