diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-13 14:40:48 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-13 14:40:48 +0000 |
| commit | 1a5754a26aabf14dba8a6d6b44f686050fa303cf (patch) | |
| tree | 1693908e1041866fec25e783270cf608654ac119 /clang/lib/CodeGen | |
| parent | 8c2391d00d14e9b0b0f37a12ceafbcbdc7f1e137 (diff) | |
| download | bcm5719-llvm-1a5754a26aabf14dba8a6d6b44f686050fa303cf.tar.gz bcm5719-llvm-1a5754a26aabf14dba8a6d6b44f686050fa303cf.zip | |
Detabify.
llvm-svn: 51042
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index e0c76d32fb6..9cceb5ce0a3 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -54,7 +54,7 @@ CGDebugInfo::~CGDebugInfo() /// descriptor cast to an empty struct pointer. llvm::Value *CGDebugInfo::getCastValueFor(llvm::DebugInfoDesc *DD) { return llvm::ConstantExpr::getBitCast(SR->Serialize(DD), - SR->getEmptyStructPtrType()); + SR->getEmptyStructPtrType()); } /// getOrCreateCompileUnit - Get the compile unit from the cache or create a new @@ -121,16 +121,16 @@ CGDebugInfo::EmitStopPoint(llvm::Function *Fn, llvm::IRBuilder &Builder) { // Lazily construct llvm.dbg.stoppoint function. if (!StopPointFn) StopPointFn = llvm::Intrinsic::getDeclaration(&M->getModule(), - llvm::Intrinsic::dbg_stoppoint); + llvm::Intrinsic::dbg_stoppoint); uint64_t CurLineNo = SM.getLogicalLineNumber(CurLoc); uint64_t ColumnNo = SM.getLogicalColumnNumber(CurLoc); // Invoke llvm.dbg.stoppoint Builder.CreateCall3(StopPointFn, - llvm::ConstantInt::get(llvm::Type::Int32Ty, CurLineNo), - llvm::ConstantInt::get(llvm::Type::Int32Ty, ColumnNo), - getCastValueFor(Unit), ""); + llvm::ConstantInt::get(llvm::Type::Int32Ty, CurLineNo), + llvm::ConstantInt::get(llvm::Type::Int32Ty, ColumnNo), + getCastValueFor(Unit), ""); } /// EmitRegionStart- Constructs the debug code for entering a declarative @@ -145,7 +145,7 @@ void CGDebugInfo::EmitRegionStart(llvm::Function *Fn, llvm::IRBuilder &Builder) // Lazily construct llvm.dbg.region.start function. if (!RegionStartFn) RegionStartFn = llvm::Intrinsic::getDeclaration(&M->getModule(), - llvm::Intrinsic::dbg_region_start); + llvm::Intrinsic::dbg_region_start); // Call llvm.dbg.func.start. Builder.CreateCall(RegionStartFn, getCastValueFor(Block), ""); @@ -158,7 +158,7 @@ void CGDebugInfo::EmitRegionEnd(llvm::Function *Fn, llvm::IRBuilder &Builder) // Lazily construct llvm.dbg.region.end function. if (!RegionEndFn) RegionEndFn =llvm::Intrinsic::getDeclaration(&M->getModule(), - llvm::Intrinsic::dbg_region_end); + llvm::Intrinsic::dbg_region_end); // Provide an region stop point. EmitStopPoint(Fn, Builder); |

