From 0edb05b9e4a63d469a6cc9e15fa0dc8de7ee1cdf Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 23 Jun 2011 22:29:00 +0000 Subject: [PATCH] Tidy up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133770 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/MC/MachObjectWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MC/MachObjectWriter.cpp b/lib/MC/MachObjectWriter.cpp index 0d80514645e..073a41e40dc 100644 --- a/lib/MC/MachObjectWriter.cpp +++ b/lib/MC/MachObjectWriter.cpp @@ -123,7 +123,7 @@ private: const MCAsmLayout &Layout) const; uint64_t getFragmentAddress(const MCFragment *Fragment, - const MCAsmLayout &Layout) const { + const MCAsmLayout &Layout) const { return getSectionAddress(Fragment->getParent()) + Layout.getFragmentOffset(Fragment); }