зеркало из https://github.com/microsoft/clang-1.git
The cache is working again; re-enable it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
8ef1f26775
Коммит
a1d642db81
|
@ -187,10 +187,7 @@ llvm::Constant *CodeGenModule::GetAddrOfFunctionDecl(const FunctionDecl *D,
|
|||
bool isDefinition) {
|
||||
// See if it is already in the map. If so, just return it.
|
||||
llvm::Constant *&Entry = GlobalDeclMap[D];
|
||||
#if 0
|
||||
// FIXME: The cache is currently broken!
|
||||
if (Entry) return Entry;
|
||||
#endif
|
||||
|
||||
const llvm::Type *Ty = getTypes().ConvertType(D->getType());
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче