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

Unified Diff: src/IceInstARM32.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/IceInst.cpp ('K') | « src/IceInst.cpp ('k') | src/IceInstARM32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstARM32.h
diff --git a/src/IceInstARM32.h b/src/IceInstARM32.h
index caef19ff8ae5af8a81762a4c4b726071bbe73c12..db16866c460c3338d9d7d2abb4e5b110953287fb 100644
--- a/src/IceInstARM32.h
+++ b/src/IceInstARM32.h
@@ -312,8 +312,8 @@ class InstARM32Pred : public InstARM32 {
public:
InstARM32Pred(Cfg *Func, InstKindARM32 Kind, SizeT Maxsrcs, Variable *Dest,
- CondARM32::Cond Predicate)
- : InstARM32(Func, Kind, Maxsrcs, Dest), Predicate(Predicate) {}
+ CondARM32::Cond MyPredicate)
+ : InstARM32(Func, Kind, Maxsrcs, Dest), Predicate(MyPredicate) {}
CondARM32::Cond getPredicate() const { return Predicate; }
void setPredicate(CondARM32::Cond Pred) { Predicate = Pred; }
@@ -516,8 +516,9 @@ public:
private:
InstARM32ThreeAddrGPR(Cfg *Func, Variable *Dest, Variable *Src0,
- Operand *Src1, CondARM32::Cond Predicate, bool SetFlags)
- : InstARM32Pred(Func, K, 2, Dest, Predicate), SetFlags(SetFlags) {
+ Operand *Src1, CondARM32::Cond Predicate,
+ bool MySetFlags)
+ : InstARM32Pred(Func, K, 2, Dest, Predicate), SetFlags(MySetFlags) {
addSource(Src0);
addSource(Src1);
}
« src/IceInst.cpp ('K') | « src/IceInst.cpp ('k') | src/IceInstARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698