Update to the the interface change, couple of rev ago.

This commit is contained in:
Vassil Vassilev 2013-10-24 17:14:22 -05:00 committed by sftnight
parent f65dc0f3a9
commit f324b7c66b

View File

@ -508,8 +508,7 @@ namespace cling {
//
if (m_CurTransaction->getState() == Transaction::kCommitted) {
std::string mangledName;
const NamedDecl* ND = cast<NamedDecl>(GD.getDecl());
utils::Analyze::maybeMangleDeclName(ND, mangledName);
utils::Analyze::maybeMangleDeclName(GD, mangledName);
llvm::GlobalValue* GV
= m_CurTransaction->getModule()->getNamedValue(mangledName);