IR: Expose the method 'getLocalSlot' in the module slot tracker.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 27 Jul 2015 22:31:04 +0000 (22:31 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 27 Jul 2015 22:31:04 +0000 (22:31 +0000)
commit991a6241d37f3a32c3bcabc327888ee9907639ca
treed4f075e4dcf2a4e7f07dcf6748bc46a398ac474c
parent4ea707555a9c6b5f38e7a990f8b1549cfd657cf3
IR: Expose the method 'getLocalSlot' in the module slot tracker.

This commit publicly exposes the method 'getLocalSlot' in the
'ModuleSlotTracker' class.

This change is useful for MIR serialization, to serialize the unnamed basic
block and unnamed alloca references.

Reviewers: Duncan P. N. Exon Smith
llvm-svn: 243336
llvm/include/llvm/IR/ModuleSlotTracker.h
llvm/lib/IR/AsmWriter.cpp
llvm/unittests/IR/ValueTest.cpp