OLD | NEW |
1 //===- subzero/src/IceInstX8632.cpp - X86-32 instruction implementation ---===// | 1 //===- subzero/src/IceInstX8632.cpp - X86-32 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 // This file implements the InstX8632 and OperandX8632 classes, | 10 // This file implements the InstX8632 and OperandX8632 classes, |
(...skipping 2888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2899 void VariableSplit::dump(const Cfg *Func, Ostream &Str) const { | 2899 void VariableSplit::dump(const Cfg *Func, Ostream &Str) const { |
2900 if (!ALLOW_DUMP) | 2900 if (!ALLOW_DUMP) |
2901 return; | 2901 return; |
2902 switch (Part) { | 2902 switch (Part) { |
2903 case Low: | 2903 case Low: |
2904 Str << "low"; | 2904 Str << "low"; |
2905 break; | 2905 break; |
2906 case High: | 2906 case High: |
2907 Str << "high"; | 2907 Str << "high"; |
2908 break; | 2908 break; |
2909 default: | |
2910 Str << "???"; | |
2911 break; | |
2912 } | 2909 } |
2913 Str << "("; | 2910 Str << "("; |
2914 if (Func) | 2911 if (Func) |
2915 Var->dump(Func); | 2912 Var->dump(Func); |
2916 else | 2913 else |
2917 Var->dump(Str); | 2914 Var->dump(Str); |
2918 Str << ")"; | 2915 Str << ")"; |
2919 } | 2916 } |
2920 | 2917 |
2921 } // end of namespace Ice | 2918 } // end of namespace Ice |
OLD | NEW |