Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: src/IceRegAlloc.h

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/IceRegAlloc.h
diff --git a/src/IceRegAlloc.h b/src/IceRegAlloc.h
index 89ae715ae46aa9a12986bdcecc73ea81b2b6db40..dd08f9ea98e988e220f9e8723e8000a585a1179a 100644
--- a/src/IceRegAlloc.h
+++ b/src/IceRegAlloc.h
@@ -28,10 +28,10 @@ class LinearScan {
LinearScan &operator=(const LinearScan &) = delete;
public:
- explicit LinearScan(Cfg *Func) : Func(Func) {}
+ explicit LinearScan(Cfg *MyFunc) : Func(MyFunc) {}
void init(RegAllocKind Kind);
void scan(const llvm::SmallBitVector &RegMask, bool Randomized);
- void dump(Cfg *Func) const;
+ void dump() const;
private:
typedef std::vector<Variable *> OrderedRanges;
« no previous file with comments | « src/IceRNG.h ('k') | src/IceRegAlloc.cpp » ('j') | src/IceTargetLoweringARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698