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

Side by Side Diff: src/IceTargetLoweringX8632Traits.h

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes 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 unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- C++ -*-=// 1 //===- subzero/src/IceTargetLoweringX8632Traits.h - x86-32 traits -*- C++ -*-=//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 /// 9 ///
10 /// \file 10 /// \file
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 Address toAsmAddress(const Cfg *Func) const; 620 Address toAsmAddress(const Cfg *Func) const;
621 void emit(const Cfg *Func) const override; 621 void emit(const Cfg *Func) const override;
622 using X86Operand::dump; 622 using X86Operand::dump;
623 void dump(const Cfg *Func, Ostream &Str) const override; 623 void dump(const Cfg *Func, Ostream &Str) const override;
624 624
625 static bool classof(const Operand *Operand) { 625 static bool classof(const Operand *Operand) {
626 return Operand->getKind() == static_cast<OperandKind>(kSplit); 626 return Operand->getKind() == static_cast<OperandKind>(kSplit);
627 } 627 }
628 628
629 private: 629 private:
630 VariableSplit(Cfg *Func, Variable *Var, Portion Part) 630 VariableSplit(Cfg *Func, Variable *MyVar, Portion MyPart)
631 : X86Operand(kSplit, IceType_i32), Var(Var), Part(Part) { 631 : X86Operand(kSplit, IceType_i32), Var(MyVar), Part(MyPart) {
632 assert(Var->getType() == IceType_f64); 632 assert(Var->getType() == IceType_f64);
633 Vars = Func->allocateArrayOf<Variable *>(1); 633 Vars = Func->allocateArrayOf<Variable *>(1);
634 Vars[0] = Var; 634 Vars[0] = Var;
635 NumVars = 1; 635 NumVars = 1;
636 } 636 }
637 637
638 Variable *Var; 638 Variable *Var;
639 Portion Part; 639 Portion Part;
640 }; 640 };
641 641
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 695
696 } // end of namespace X86Internal 696 } // end of namespace X86Internal
697 697
698 namespace X8632 { 698 namespace X8632 {
699 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>; 699 using Traits = ::Ice::X86Internal::MachineTraits<TargetX8632>;
700 } // end of namespace X8632 700 } // end of namespace X8632
701 701
702 } // end of namespace Ice 702 } // end of namespace Ice
703 703
704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H 704 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632TRAITS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698