Skip to content

Commit 5485e54

Browse files
committed
IRGen: Remove unused function
1 parent 1483a66 commit 5485e54

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/IRGen/GenDecl.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5493,13 +5493,6 @@ Address IRGenFunction::createAlloca(llvm::Type *type,
54935493
return Address(alloca, type, alignment);
54945494
}
54955495

5496-
/// Allocate a fixed-size buffer on the stack.
5497-
Address IRGenFunction::createFixedSizeBufferAlloca(const llvm::Twine &name) {
5498-
return createAlloca(IGM.getFixedBufferTy(),
5499-
getFixedBufferAlignment(IGM),
5500-
name);
5501-
}
5502-
55035496
/// Get or create a global string constant.
55045497
///
55055498
/// \returns an i8* with a null terminator; note that embedded nulls

lib/IRGen/IRGenFunction.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ class IRGenFunction {
218218
const llvm::Twine &name = "");
219219
Address createAlloca(llvm::Type *ty, llvm::Value *arraySize, Alignment align,
220220
const llvm::Twine &name = "");
221-
Address createFixedSizeBufferAlloca(const llvm::Twine &name);
222221

223222
StackAddress emitDynamicAlloca(SILType type, const llvm::Twine &name = "");
224223
StackAddress emitDynamicAlloca(llvm::Type *eltTy, llvm::Value *arraySize,

0 commit comments

Comments
 (0)