From 940cd9368d0c8bc6833f2bc0fc53568d74ea516f Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 4 Jul 2016 01:26:21 +0000 Subject: Untabify. llvm-svn: 274479 --- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'llvm/lib/ExecutionEngine') diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index 664be31..6fc9999 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -479,7 +479,7 @@ Error RuntimeDyldImpl::computeTotalAllocSize(const ObjectFile &Obj, // If this is the first common symbol, use its alignment as the alignment // for the common symbols section. if (CommonSize == 0) - CommonAlign = Align; + CommonAlign = Align; CommonSize = alignTo(CommonSize, Align) + Size; } } @@ -601,9 +601,8 @@ Error RuntimeDyldImpl::emitCommonSymbols(const ObjectFile &Obj, // Allocate memory for the section unsigned SectionID = Sections.size(); - uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, - SectionID, "", - false); + uint8_t *Addr = MemMgr.allocateDataSection(CommonSize, CommonAlign, SectionID, + "", false); if (!Addr) report_fatal_error("Unable to allocate memory for common symbols!"); uint64_t Offset = 0; -- cgit v1.1