summaryrefslogtreecommitdiff
path: root/lib/MC
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-01-13 15:50:36 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-01-13 15:50:36 +0000
commit286cc1354606638fef69eee80e98dadb90406e51 (patch)
tree90f23c9f1ead1b84eeaaeabef4376daab4f0f39b /lib/MC
parent91e35c753332fdea40f349099116d6a64a1d77ca (diff)
downloadllvm-286cc1354606638fef69eee80e98dadb90406e51.tar.gz
llvm-286cc1354606638fef69eee80e98dadb90406e51.tar.bz2
llvm-286cc1354606638fef69eee80e98dadb90406e51.tar.xz
Fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/MCAssembler.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp
index 68111f187d..10c35be838 100644
--- a/lib/MC/MCAssembler.cpp
+++ b/lib/MC/MCAssembler.cpp
@@ -738,17 +738,17 @@ void MCAssembler::writeSectionData(const MCSectionData *SD,
uint64_t MCAssembler::handleFixup(const MCAsmLayout &Layout,
MCFragment &F,
const MCFixup &Fixup) {
- // Evaluate the fixup.
- MCValue Target;
- uint64_t FixedValue;
- if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue)) {
- // The fixup was unresolved, we need a relocation. Inform the object
- // writer of the relocation, and give it an opportunity to adjust the
- // fixup value if need be.
- getWriter().RecordRelocation(*this, Layout, &F, Fixup, Target, FixedValue);
- }
- return FixedValue;
- }
+ // Evaluate the fixup.
+ MCValue Target;
+ uint64_t FixedValue;
+ if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue)) {
+ // The fixup was unresolved, we need a relocation. Inform the object
+ // writer of the relocation, and give it an opportunity to adjust the
+ // fixup value if need be.
+ getWriter().RecordRelocation(*this, Layout, &F, Fixup, Target, FixedValue);
+ }
+ return FixedValue;
+}
void MCAssembler::Finish() {
DEBUG_WITH_TYPE("mc-dump", {