forked from OSchip/llvm-project
The cache is working again; re-enable it.
llvm-svn: 51587
This commit is contained in:
parent
a904087b0d
commit
70f5a921b7
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue