OSDN Git Service

DebugInfo: Factor out RETURN_FROM_RAW, etc.
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 01:47:37 +0000 (01:47 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 01:47:37 +0000 (01:47 +0000)
commit12b14d9a76b8faaf96cebdc3a66e80f29d04db84
tree309786b5ce9a8fe72568beb1610c5504ca08fab4
parentc2baee4da61e5982f410a0105130713374fd5b21
DebugInfo: Factor out RETURN_FROM_RAW, etc.

Remove the helper macros `RETURN_FROM_RAW()`,
`RETURN_DESCRIPTOR_FROM_RAW()`, and `RETURN_REF_FROM_RAW()`, since they
don't do anything too special anymore.  This loses an `assert(get())`,
but I'm hoping any crashes were shaken out when r232844 landed a few
weeks ago.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233660 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfo.h