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

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: Change the previous underscore naming style Created 5 years, 6 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
« src/IceInstARM32.h ('K') | « src/IceRNG.h ('k') | src/IceRegAlloc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceRegAlloc.h
diff --git a/src/IceRegAlloc.h b/src/IceRegAlloc.h
index 1658a7d4d97e27468ce1e183929e681f00fd5d2f..8bb137e7acdb85395faacf956960ec374761a74b 100644
--- a/src/IceRegAlloc.h
+++ b/src/IceRegAlloc.h
@@ -27,10 +27,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;
« src/IceInstARM32.h ('K') | « src/IceRNG.h ('k') | src/IceRegAlloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698