| OLD | NEW |
| 1 //===- subzero/src/IceFixups.cpp - Implementation of Assembler Fixups -----===// | 1 //===- subzero/src/IceFixups.cpp - Implementation of Assembler Fixups -----===// |
| 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 AssemblerFixup class, a very basic | 10 /// \file |
| 11 // target-independent representation of a fixup or relocation. | 11 /// This file implements the AssemblerFixup class, a very basic |
| 12 // | 12 /// target-independent representation of a fixup or relocation. |
| 13 /// |
| 13 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
| 14 | 15 |
| 15 #include "IceFixups.h" | 16 #include "IceFixups.h" |
| 16 | 17 |
| 17 #include "IceOperand.h" | 18 #include "IceOperand.h" |
| 18 | 19 |
| 19 namespace Ice { | 20 namespace Ice { |
| 20 | 21 |
| 21 const Constant *AssemblerFixup::NullSymbol = nullptr; | 22 const Constant *AssemblerFixup::NullSymbol = nullptr; |
| 22 | 23 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 if (isNullSymbol()) | 55 if (isNullSymbol()) |
| 55 Str << "__Sz_AbsoluteZero"; | 56 Str << "__Sz_AbsoluteZero"; |
| 56 else | 57 else |
| 57 Str << symbol(Ctx); | 58 Str << symbol(Ctx); |
| 58 RelocOffsetT Offset = offset() + BaseOffset; | 59 RelocOffsetT Offset = offset() + BaseOffset; |
| 59 if (Offset) | 60 if (Offset) |
| 60 Str << " + " << Offset; | 61 Str << " + " << Offset; |
| 61 } | 62 } |
| 62 | 63 |
| 63 } // end of namespace Ice | 64 } // end of namespace Ice |
| OLD | NEW |