IR: Use Optional instead of unique_ptr for debug info ODR type map, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Apr 2016 16:06:50 +0000 (16:06 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 19 Apr 2016 16:06:50 +0000 (16:06 +0000)
commite8b555c6bb93cd3431a18a624bff81020bec2a3b
tree45b50ac2b2e1fa4149ad5620f34f823a0b85f618
parentd6b44aad313c3d3dbb1f0749301eb79e8a9ba32c
IR: Use Optional instead of unique_ptr for debug info ODR type map, NFC

Save a level of malloc indirection.

llvm-svn: 266749
llvm/lib/IR/LLVMContext.cpp
llvm/lib/IR/LLVMContextImpl.h