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

Side by Side Diff: src/IceInst.cpp

Issue 1678133003: Subzero: Fix trailing whitespace errors. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Rebase Created 4 years, 10 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 | « pydir/gen_arm32_reg_tables.py ('k') | src/IceRegistersARM32.def » ('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/IceInst.cpp - High-level instruction implementation ----===// 1 //===- subzero/src/IceInst.cpp - High-level instruction implementation ----===//
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 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 Str << "bundle_unlock"; 940 Str << "bundle_unlock";
941 } 941 }
942 942
943 void InstFakeDef::emit(const Cfg *Func) const { 943 void InstFakeDef::emit(const Cfg *Func) const {
944 if (!BuildDefs::dump()) 944 if (!BuildDefs::dump())
945 return; 945 return;
946 // Go ahead and "emit" these for now, since they are relatively rare. 946 // Go ahead and "emit" these for now, since they are relatively rare.
947 Ostream &Str = Func->getContext()->getStrEmit(); 947 Ostream &Str = Func->getContext()->getStrEmit();
948 Str << "\t# "; 948 Str << "\t# ";
949 getDest()->emit(Func); 949 getDest()->emit(Func);
950 Str << " = def.pseudo "; 950 Str << " = def.pseudo";
951 if (getSrcSize() > 0)
952 Str << " ";
951 emitSources(Func); 953 emitSources(Func);
952 Str << "\n"; 954 Str << "\n";
953 } 955 }
954 956
955 void InstFakeDef::dump(const Cfg *Func) const { 957 void InstFakeDef::dump(const Cfg *Func) const {
956 if (!BuildDefs::dump()) 958 if (!BuildDefs::dump())
957 return; 959 return;
958 Ostream &Str = Func->getContext()->getStrDump(); 960 Ostream &Str = Func->getContext()->getStrDump();
959 dumpDest(Func); 961 dumpDest(Func);
960 Str << " = def.pseudo "; 962 Str << " = def.pseudo ";
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 // upper 32 bits of rax. We need to recognize and preserve these. 1011 // upper 32 bits of rax. We need to recognize and preserve these.
1010 return true; 1012 return true;
1011 } 1013 }
1012 if (!Dest->hasReg() && !SrcVar->hasReg() && 1014 if (!Dest->hasReg() && !SrcVar->hasReg() &&
1013 Dest->getStackOffset() == SrcVar->getStackOffset()) 1015 Dest->getStackOffset() == SrcVar->getStackOffset())
1014 return true; 1016 return true;
1015 return false; 1017 return false;
1016 } 1018 }
1017 1019
1018 } // end of namespace Ice 1020 } // end of namespace Ice
OLDNEW
« no previous file with comments | « pydir/gen_arm32_reg_tables.py ('k') | src/IceRegistersARM32.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698