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 /// \file | 10 /// \file |
11 /// This file implements the AssemblerFixup class, a very basic | 11 /// \brief Implements the AssemblerFixup class, a very basic target-independent |
12 /// target-independent representation of a fixup or relocation. | 12 /// representation of a fixup or relocation. |
13 /// | 13 /// |
14 //===----------------------------------------------------------------------===// | 14 //===----------------------------------------------------------------------===// |
15 | 15 |
16 #include "IceFixups.h" | 16 #include "IceFixups.h" |
17 | 17 |
18 #include "IceOperand.h" | 18 #include "IceOperand.h" |
19 | 19 |
20 namespace Ice { | 20 namespace Ice { |
21 | 21 |
22 const Constant *AssemblerFixup::NullSymbol = nullptr; | 22 const Constant *AssemblerFixup::NullSymbol = nullptr; |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 Str << "\n"; | 70 Str << "\n"; |
71 return FixupSize; | 71 return FixupSize; |
72 } | 72 } |
73 | 73 |
74 size_t AssemblerTextFixup::emit(GlobalContext *Ctx, const Assembler &) const { | 74 size_t AssemblerTextFixup::emit(GlobalContext *Ctx, const Assembler &) const { |
75 Ctx->getStrEmit() << Message << "\n"; | 75 Ctx->getStrEmit() << Message << "\n"; |
76 return NumBytes; | 76 return NumBytes; |
77 } | 77 } |
78 | 78 |
79 } // end of namespace Ice | 79 } // end of namespace Ice |
OLD | NEW |