summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-22 10:37:47 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-22 10:37:47 +0000
commit3e44ea191713e6bfaf5c86a90bbb745103036c0c (patch)
treedab25a553e398406dde1018611caa5c054997205 /llvm/lib/CodeGen/GCStrategy.cpp
parenta1d7516cb7533ea4bd32ecdcdfef8414eeb9be07 (diff)
downloadbcm5719-llvm-3e44ea191713e6bfaf5c86a90bbb745103036c0c.tar.gz
bcm5719-llvm-3e44ea191713e6bfaf5c86a90bbb745103036c0c.zip
undo 80 column trespassing I caused
llvm-svn: 109092
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r--llvm/lib/CodeGen/GCStrategy.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp
index 71506cc6abb..b27a420a243 100644
--- a/llvm/lib/CodeGen/GCStrategy.cpp
+++ b/llvm/lib/CodeGen/GCStrategy.cpp
@@ -260,7 +260,7 @@ bool LowerIntrinsics::PerformDefaultLowering(Function &F, GCStrategy &S) {
bool LowerRd = !S.customReadBarrier();
bool InitRoots = S.initializeRoots();
- SmallVector<AllocaInst*,32> Roots;
+ SmallVector<AllocaInst*, 32> Roots;
bool MadeChange = false;
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
@@ -271,7 +271,8 @@ bool LowerIntrinsics::PerformDefaultLowering(Function &F, GCStrategy &S) {
case Intrinsic::gcwrite:
if (LowerWr) {
// Replace a write barrier with a simple store.
- Value *St = new StoreInst(CI->getArgOperand(0), CI->getArgOperand(2), CI);
+ Value *St = new StoreInst(CI->getArgOperand(0),
+ CI->getArgOperand(2), CI);
CI->replaceAllUsesWith(St);
CI->eraseFromParent();
}
OpenPOWER on IntegriCloud