Skip to content

Commit d5d65b0

Browse files
committed
[NFC] Removed unused method.
1 parent f6bfd41 commit d5d65b0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,18 +1220,6 @@ class AsyncNativeCCEntryPointArgumentEmission final
12201220
Address addr = errorLayout.project(IGF, dataAddr, /*offsets*/ llvm::None);
12211221
return addr.getAddress();
12221222
}
1223-
llvm::Value *getErrorResultAddrForCall() {
1224-
auto errorLayout = layout.getErrorLayout();
1225-
auto &ti = cast<LoadableTypeInfo>(errorLayout.getType());
1226-
auto allocaAddr = ti.allocateStack(IGF, layout.getErrorType(), "arg");
1227-
auto addrInContext =
1228-
layout.getErrorLayout().project(IGF, dataAddr, /*offsets*/ llvm::None);
1229-
Explosion explosion;
1230-
ti.loadAsTake(IGF, addrInContext, explosion);
1231-
ti.initialize(IGF, explosion, allocaAddr.getAddress(),
1232-
/*isOutlined*/ false);
1233-
return allocaAddr.getAddress().getAddress();
1234-
}
12351223
llvm::Value *getContext() override {
12361224
auto contextLayout = layout.getLocalContextLayout();
12371225
Address addr = contextLayout.project(IGF, dataAddr, /*offsets*/ llvm::None);

0 commit comments

Comments
 (0)