Skip to content

Commit 03600e3

Browse files
authored
Merge pull request swiftlang#31068 from aschwaighofer/irgen_change_spelling_startoffset
2 parents c50fd55 + 51aed59 commit 03600e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/GenHeap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,8 @@ static llvm::Value *calcInitOffset(swift::irgen::IRGenFunction &IGF,
285285
const swift::irgen::HeapLayout &layout) {
286286
llvm::Value *offset = nullptr;
287287
if (i == 0) {
288-
auto startoffset = layout.getHeaderSize();
289-
offset = llvm::ConstantInt::get(IGF.IGM.SizeTy, startoffset.getValue());
288+
auto startOffset = layout.getHeaderSize();
289+
offset = llvm::ConstantInt::get(IGF.IGM.SizeTy, startOffset.getValue());
290290
return offset;
291291
}
292292
auto &prevElt = layout.getElement(i - 1);

0 commit comments

Comments
 (0)