[Mips] Use unique_ptr to manage ownership.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 16 Apr 2015 12:43:33 +0000 (12:43 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 16 Apr 2015 12:43:33 +0000 (12:43 +0000)
commite6da045ce17e2b259030f801642e1d0e370125ad
tree35ae2e2fbdfa2b5a378db027ccf82c9ef403f5c7
parentedc3aaefa6ad4dce2e4c23bde1463a8fbcefec85
[Mips] Use unique_ptr to manage ownership.

Required some tweaking of ValueMap to accommodate a move-only value
type. No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235091 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/ValueMap.h
lib/Target/Mips/MipsMachineFunction.cpp
lib/Target/Mips/MipsMachineFunction.h