Skip to content

Commit 63b5ba4

Browse files
committed
[NFC] Used consistent style for casting.
1 parent 0356c9f commit 63b5ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,8 +1959,8 @@ class AsyncCallEmission final : public CallEmission {
19591959
}
19601960
void loadValue(ElementLayout layout, Explosion &explosion) {
19611961
Address addr = layout.project(IGF, context, /*offsets*/ llvm::None);
1962-
auto &ti = layout.getType();
1963-
cast<LoadableTypeInfo>(ti).loadAsTake(IGF, addr, explosion);
1962+
auto &ti = cast<LoadableTypeInfo>(layout.getType());
1963+
ti.loadAsTake(IGF, addr, explosion);
19641964
}
19651965

19661966
public:

0 commit comments

Comments
 (0)