]> granicus.if.org Git - llvm/commit
Refactor DIBuilder dbg intrinsic insertion, NFC
authorReid Kleckner <rnk@google.com>
Tue, 3 Oct 2017 20:36:40 +0000 (20:36 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 3 Oct 2017 20:36:40 +0000 (20:36 +0000)
commit92fd2e397c035b4863850753eed1a8a22f990e1d
tree9f03b0e9c708030fab3a4afd8e3e84cad2421e8c
parent4706e74f4b6d63ab4d20495b627556fac429eeb1
Refactor DIBuilder dbg intrinsic insertion, NFC

Both dbg.declare and dbg.value insertion had duplicate code for the two
overloads with different insertion point conventions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314839 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DIBuilder.h
lib/IR/DIBuilder.cpp