diff options
| author | Gabor Greif <ggreif@gmail.com> | 2010-07-22 10:37:47 +0000 |
|---|---|---|
| committer | Gabor Greif <ggreif@gmail.com> | 2010-07-22 10:37:47 +0000 |
| commit | af08dfbc409d39bdcb04522161c650c4e26dd060 (patch) | |
| tree | dd0c785b9a2c44961f7b8d2de14ebee918dae26b /lib/CodeGen/GCStrategy.cpp | |
| parent | 8d20b5ae0ae3c61a87f002cd11e98cb1f0fa16f2 (diff) | |
| download | external_llvm-af08dfbc409d39bdcb04522161c650c4e26dd060.zip external_llvm-af08dfbc409d39bdcb04522161c650c4e26dd060.tar.gz external_llvm-af08dfbc409d39bdcb04522161c650c4e26dd060.tar.bz2 | |
undo 80 column trespassing I caused
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/GCStrategy.cpp')
| -rw-r--r-- | lib/CodeGen/GCStrategy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/GCStrategy.cpp b/lib/CodeGen/GCStrategy.cpp index 71506cc..b27a420 100644 --- a/lib/CodeGen/GCStrategy.cpp +++ b/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(); } |
