summaryrefslogtreecommitdiff
path: root/lib/IR
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/Globals.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/IR/Globals.cpp b/lib/IR/Globals.cpp
index f97602015f..9303343a90 100644
--- a/lib/IR/Globals.cpp
+++ b/lib/IR/Globals.cpp
@@ -104,7 +104,7 @@ bool GlobalValue::isDeclaration() const {
assert(isa<GlobalAlias>(this));
return false;
}
-
+
//===----------------------------------------------------------------------===//
// GlobalVariable Implementation
//===----------------------------------------------------------------------===//
@@ -146,9 +146,9 @@ GlobalVariable::GlobalVariable(Module &M, Type *Ty, bool constant,
"Initializer should be the same type as the GlobalVariable!");
Op<0>() = InitVal;
}
-
+
LeakDetector::addGarbageObject(this);
-
+
if (Before)
Before->getParent()->getGlobalList().insert(Before, this);
else
@@ -253,7 +253,7 @@ void GlobalAlias::eraseFromParent() {
void GlobalAlias::setAliasee(Constant *Aliasee) {
assert((!Aliasee || Aliasee->getType() == getType()) &&
"Alias and aliasee types should match!");
-
+
setOperand(0, Aliasee);
}