summaryrefslogtreecommitdiff
path: root/lib/MC/MCAssembler.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-10-26 22:44:41 +0000
committerJim Grosbach <grosbach@apple.com>2011-10-26 22:44:41 +0000
commit684457d179fcfdf8c1f8ee9f66cc40665ecc648c (patch)
treeca134326fa508799f7e120a3fee12f3b4a3750d3 /lib/MC/MCAssembler.cpp
parenta581328ceb4c9db165d79a4dabd6b28db799d70f (diff)
downloadllvm-684457d179fcfdf8c1f8ee9f66cc40665ecc648c.tar.gz
llvm-684457d179fcfdf8c1f8ee9f66cc40665ecc648c.tar.bz2
llvm-684457d179fcfdf8c1f8ee9f66cc40665ecc648c.tar.xz
Trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAssembler.cpp')
-rw-r--r--lib/MC/MCAssembler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp
index 06c8aec919..29adbcbc7f 100644
--- a/lib/MC/MCAssembler.cpp
+++ b/lib/MC/MCAssembler.cpp
@@ -118,7 +118,7 @@ uint64_t MCAsmLayout::getSymbolOffset(const MCSymbolData *SD) const {
if (Target.getSymB() && Target.getSymB()->getSymbol().isUndefined())
report_fatal_error("unable to evaluate offset to undefined symbol '" +
Target.getSymB()->getSymbol().getName() + "'");
-
+
uint64_t Offset = Target.getConstant();
if (Target.getSymA())
Offset += getSymbolOffset(&Assembler.getSymbolData(
@@ -295,7 +295,7 @@ bool MCAssembler::EvaluateFixup(const MCAsmLayout &Layout,
if (IsPCRel) {
uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
-
+
// A number of ARM fixups in Thumb mode require that the effective PC
// address be determined as the 32-bit aligned version of the actual offset.
if (ShouldAlignPC) Offset &= ~0x3;