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 | c59b33562c84cb627e456fa979df2242f81b5a87 (patch) | |
tree | 755dde580933f159e38c07338621a3ebdb31641a /lib/Analysis | |
parent | 4063f6bcc775bb0429dea2276694c4cdc2d4dca1 (diff) | |
download | external_llvm-c59b33562c84cb627e456fa979df2242f81b5a87.zip external_llvm-c59b33562c84cb627e456fa979df2242f81b5a87.tar.gz external_llvm-c59b33562c84cb627e456fa979df2242f81b5a87.tar.bz2 |
Rename DIFactory::InsertValue() as DIFactory::InsertDbgValueIntrinsic()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 7dc652f..bd81314 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/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"); |