aboutsummaryrefslogtreecommitdiff
path: root/tools/llvmc2/CompilationGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc2/CompilationGraph.cpp')
-rw-r--r--tools/llvmc2/CompilationGraph.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvmc2/CompilationGraph.cpp b/tools/llvmc2/CompilationGraph.cpp
index 2e83f44f67..838b940501 100644
--- a/tools/llvmc2/CompilationGraph.cpp
+++ b/tools/llvmc2/CompilationGraph.cpp
@@ -55,10 +55,10 @@ namespace {
for (typename C::const_iterator B = EdgesContainer.begin(),
E = EdgesContainer.end(); B != E; ++B) {
- const Edge* E = B->getPtr();
- unsigned EW = E->Weight(InLangs);
+ const Edge* e = B->getPtr();
+ unsigned EW = e->Weight(InLangs);
if (EW > MaxWeight) {
- MaxEdge = E;
+ MaxEdge = e;
MaxWeight = EW;
SingleMax = true;
} else if (EW == MaxWeight) {