diff options
Diffstat (limited to 'llvm/include/llvm/MC/MCAssembler.h')
-rw-r--r-- | llvm/include/llvm/MC/MCAssembler.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/include/llvm/MC/MCAssembler.h b/llvm/include/llvm/MC/MCAssembler.h index bb2cda90945..86ad502c7e0 100644 --- a/llvm/include/llvm/MC/MCAssembler.h +++ b/llvm/include/llvm/MC/MCAssembler.h @@ -254,10 +254,6 @@ private: // // FIXME: This could all be kept private to the assembler implementation. - /// FileOffset - The offset of this section in the object file. This is ~0 - /// until initialized. - uint64_t FileOffset; - /// FileSize - The size of this section in the object file. This is ~0 until /// initialized. uint64_t FileSize; @@ -301,12 +297,6 @@ public: } void setFileSize(uint64_t Value) { FileSize = Value; } - uint64_t getFileOffset() const { - assert(FileOffset != ~UINT64_C(0) && "File offset not set!"); - return FileOffset; - } - void setFileOffset(uint64_t Value) { FileOffset = Value; } - /// @} }; |