diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-12-07 21:54:43 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-12-07 21:54:43 +0000 |
commit | 58fd941eab793f20af63d96bb7dbb18411529386 (patch) | |
tree | b0e01d19c78b8b5a2e24a1d0f99ee8a34bd47a0d /llvm/lib/Analysis/DebugInfo.cpp | |
parent | b074d1783b6e172b77a9c56a26027a837099987f (diff) | |
download | bcm5719-llvm-58fd941eab793f20af63d96bb7dbb18411529386.tar.gz bcm5719-llvm-58fd941eab793f20af63d96bb7dbb18411529386.zip |
Rename DIFactory::InsertValue() as DIFactory::InsertDbgValueIntrinsic()
llvm-svn: 90807
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 7dc652fb7b7..bd81314f463 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/lib/Analysis/DebugInfo.cpp @@ -1078,9 +1078,10 @@ Instruction *DIFactory::InsertDeclare(Value *Storage, DIVariable D, return CallInst::Create(DeclareFn, Args, Args+2, "", InsertAtEnd); } -/// InsertValue - Insert a new llvm.dbg.value intrinsic call. -Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D, - Instruction *InsertBefore) { +/// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. +Instruction *DIFactory::InsertDbgValueIntrinsic(Value *V, Value *Offset, + DIVariable D, + Instruction *InsertBefore) { assert(V && "no value passed to dbg.value"); assert(Offset->getType() == Type::getInt64Ty(V->getContext()) && "offset must be i64"); @@ -1093,9 +1094,10 @@ Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D, return CallInst::Create(ValueFn, Args, Args+3, "", InsertBefore); } -/// InsertValue - Insert a new llvm.dbg.value intrinsic call. -Instruction *DIFactory::InsertValue(Value *V, Value *Offset, DIVariable D, - BasicBlock *InsertAtEnd) { +/// InsertDbgValueIntrinsic - Insert a new llvm.dbg.value intrinsic call. +Instruction *DIFactory::InsertDbgValueIntrinsic(Value *V, Value *Offset, + DIVariable D, + BasicBlock *InsertAtEnd) { assert(V && "no value passed to dbg.value"); assert(Offset->getType() == Type::getInt64Ty(V->getContext()) && "offset must be i64"); |