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

Unified Diff: src/IceInst.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
Index: src/IceInst.h
diff --git a/src/IceInst.h b/src/IceInst.h
index 7aad05455aa7d7519f671eb99ee7c38334324861..e1abc87a4a7d1903868950f13d9234d85b4d7cd2 100644
--- a/src/IceInst.h
+++ b/src/IceInst.h
@@ -394,8 +394,9 @@ public:
protected:
InstCall(Cfg *Func, SizeT NumArgs, Variable *Dest, Operand *CallTarget,
- bool HasTailCall, bool HasSideEff, InstKind Kind)
- : InstHighLevel(Func, Kind, NumArgs + 1, Dest), HasTailCall(HasTailCall) {
+ bool MyHasTailCall, bool HasSideEff, InstKind Kind)
+ : InstHighLevel(Func, Kind, NumArgs + 1, Dest),
+ HasTailCall(MyHasTailCall) {
HasSideEffects = HasSideEff;
addSource(CallTarget);
}
@@ -565,10 +566,11 @@ public:
private:
InstIntrinsicCall(Cfg *Func, SizeT NumArgs, Variable *Dest,
- Operand *CallTarget, const Intrinsics::IntrinsicInfo &Info)
- : InstCall(Func, NumArgs, Dest, CallTarget, false, Info.HasSideEffects,
+ Operand *CallTarget,
+ const Intrinsics::IntrinsicInfo &MyInfo)
+ : InstCall(Func, NumArgs, Dest, CallTarget, false, MyInfo.HasSideEffects,
Inst::IntrinsicCall),
- Info(Info) {}
+ Info(MyInfo) {}
const Intrinsics::IntrinsicInfo Info;
};

Powered by Google App Engine
This is Rietveld 408576698