forked from OSchip/llvm-project
parent
8fdd3d95eb
commit
b8bd2db8b3
|
@ -519,7 +519,7 @@ void CodeGenModule::EmitGlobalVarDeclarator(const FileVarDecl *D) {
|
|||
/// getBuiltinLibFunction
|
||||
llvm::Function *CodeGenModule::getBuiltinLibFunction(unsigned BuiltinID) {
|
||||
if (BuiltinFunctions.size() <= BuiltinID)
|
||||
BuiltinFunctions.resize(BuiltinID);
|
||||
BuiltinFunctions.resize(BuiltinID+1);
|
||||
|
||||
// Already available?
|
||||
llvm::Function *&FunctionSlot = BuiltinFunctions[BuiltinID];
|
||||
|
|
Loading…
Reference in New Issue