Commit 8f98cdd2 by Jim Stichnoth

Subzero: Fix MINIMAL build error.

A NOASSERT/MINIMAL build complains that private field Func is unused, which turned out to be true because of shadowing. BUG= none R=ascull@google.com Review URL: https://codereview.chromium.org/1312903015
parent aa6c1093
...@@ -34,7 +34,7 @@ void LoopAnalyzer::LoopNode::incrementLoopNestDepth() { ...@@ -34,7 +34,7 @@ void LoopAnalyzer::LoopNode::incrementLoopNestDepth() {
BB->incrementLoopNestDepth(); BB->incrementLoopNestDepth();
} }
LoopAnalyzer::LoopAnalyzer(Cfg *Func) : Func(Func) { LoopAnalyzer::LoopAnalyzer(Cfg *Fn) : Func(Fn) {
const NodeList &Nodes = Func->getNodes(); const NodeList &Nodes = Func->getNodes();
// Allocate memory ahead of time. This is why a vector is used instead of a // Allocate memory ahead of time. This is why a vector is used instead of a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment