We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0356c9f commit 63b5ba4Copy full SHA for 63b5ba4
lib/IRGen/GenCall.cpp
@@ -1959,8 +1959,8 @@ class AsyncCallEmission final : public CallEmission {
1959
}
1960
void loadValue(ElementLayout layout, Explosion &explosion) {
1961
Address addr = layout.project(IGF, context, /*offsets*/ llvm::None);
1962
- auto &ti = layout.getType();
1963
- cast<LoadableTypeInfo>(ti).loadAsTake(IGF, addr, explosion);
+ auto &ti = cast<LoadableTypeInfo>(layout.getType());
+ ti.loadAsTake(IGF, addr, explosion);
1964
1965
1966
public:
0 commit comments