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

Side by Side Diff: src/IceInstARM32.h

Issue 1638123002: Fix template method InstARM32FourAddrFP to only have one definition. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | src/IceInstARM32.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- C++ -*-===// 1 //===- subzero/src/IceInstARM32.h - ARM32 machine instructions --*- 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 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 static InstARM32FourAddrFP *create(Cfg *Func, Variable *Dest, Variable *Src0, 828 static InstARM32FourAddrFP *create(Cfg *Func, Variable *Dest, Variable *Src0,
829 Variable *Src1) { 829 Variable *Src1) {
830 return new (Func->allocate<InstARM32FourAddrFP>()) 830 return new (Func->allocate<InstARM32FourAddrFP>())
831 InstARM32FourAddrFP(Func, Dest, Src0, Src1); 831 InstARM32FourAddrFP(Func, Dest, Src0, Src1);
832 } 832 }
833 void emit(const Cfg *Func) const override { 833 void emit(const Cfg *Func) const override {
834 if (!BuildDefs::dump()) 834 if (!BuildDefs::dump())
835 return; 835 return;
836 emitFourAddrFP(Opcode, this, Func); 836 emitFourAddrFP(Opcode, this, Func);
837 } 837 }
838 void emitIAS(const Cfg *Func) const override { emitUsingTextFixup(Func); } 838 void emitIAS(const Cfg *Func) const override;
839 void dump(const Cfg *Func) const override { 839 void dump(const Cfg *Func) const override {
840 if (!BuildDefs::dump()) 840 if (!BuildDefs::dump())
841 return; 841 return;
842 Ostream &Str = Func->getContext()->getStrDump(); 842 Ostream &Str = Func->getContext()->getStrDump();
843 dumpDest(Func); 843 dumpDest(Func);
844 Str << " = "; 844 Str << " = ";
845 Str << Opcode << "." << getDest()->getType() << " "; 845 Str << Opcode << "." << getDest()->getType() << " ";
846 dumpDest(Func); 846 dumpDest(Func);
847 Str << ", "; 847 Str << ", ";
848 dumpSources(Func); 848 dumpSources(Func);
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 // violations and link errors. 1437 // violations and link errors.
1438 1438
1439 template <> void InstARM32Ldr::emit(const Cfg *Func) const; 1439 template <> void InstARM32Ldr::emit(const Cfg *Func) const;
1440 template <> void InstARM32Movw::emit(const Cfg *Func) const; 1440 template <> void InstARM32Movw::emit(const Cfg *Func) const;
1441 template <> void InstARM32Movt::emit(const Cfg *Func) const; 1441 template <> void InstARM32Movt::emit(const Cfg *Func) const;
1442 1442
1443 } // end of namespace ARM32 1443 } // end of namespace ARM32
1444 } // end of namespace Ice 1444 } // end of namespace Ice
1445 1445
1446 #endif // SUBZERO_SRC_ICEINSTARM32_H 1446 #endif // SUBZERO_SRC_ICEINSTARM32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceInstARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698