ValueMapper: Hide Mapper::VM behind an accessor, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 15 Apr 2016 23:18:43 +0000 (23:18 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 15 Apr 2016 23:18:43 +0000 (23:18 +0000)
commitdb6861e7dd5ba7b3ed59a92036a87ff9913c808a
treea77a59183785006bf77e5cdf2dcdd3294eb7debb
parent963f2df4d2aaa5e76aa6c0bc52f3de66af7be8c4
ValueMapper: Hide Mapper::VM behind an accessor, NFC

Change Mapper::VM to a pointer and add a `getVM()` accessor for it.
While this has no functionality change, it minimizes the diff on an
upcoming patch that allows switching between instances of
ValueToValueMapTy on a single Mapper instance.

llvm-svn: 266490
llvm/lib/Transforms/Utils/ValueMapper.cpp