Skip to content

Commit

Permalink
Remove unused variable in GC root placement (#22848)
Browse files Browse the repository at this point in the history
This was causing an unused variable warning when building with Clang.
  • Loading branch information
ararslan authored Jul 20, 2017
1 parent 8cd3c3f commit 3e8b32d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/llvm-late-gc-lowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,6 @@ void LateLowerGCFrame::PlaceGCFrameStores(Function &F, State &S, unsigned MinCol
}

void LateLowerGCFrame::PlaceRootsAndUpdateCalls(Function &F, std::vector<int> &Colors, State &S, std::map<Value *, std::pair<int, int>>) {
auto &DT = getAnalysis<DominatorTreeWrapperPass>().getDomTree();
int MaxColor = -1;
for (auto C : Colors)
if (C > MaxColor)
Expand Down

0 comments on commit 3e8b32d

Please sign in to comment.