Skip to content

Commit 51aed59

Browse files
committed
IRGen: Change startoffset to startOffset.
nfc.
1 parent c50fd55 commit 51aed59

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)