Skip to content

Commit d4c865c

Browse files
Merge pull request #76435 from aschwaighofer/typed_throws_abi_revert
Typed throws ABI revert
2 parents db6bc98 + c9c45a1 commit d4c865c

12 files changed

+147
-1135
lines changed

lib/IRGen/CallEmission.h

-11
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include "Address.h"
2121
#include "Callee.h"
22-
#include "Explosion.h"
2322
#include "Temporary.h"
2423

2524
namespace llvm {
@@ -89,7 +88,6 @@ class CallEmission {
8988

9089
unsigned IndirectTypedErrorArgIdx = 0;
9190

92-
std::optional<Explosion> typedErrorExplosion;
9391

9492
virtual void setFromCallee();
9593
void emitToUnmappedMemory(Address addr);
@@ -110,11 +108,6 @@ class CallEmission {
110108
TemporarySet &temporaries,
111109
bool isOutlined);
112110

113-
bool mayReturnTypedErrorDirectly() const;
114-
void emitToUnmappedExplosionWithDirectTypedError(SILType resultType,
115-
llvm::Value *result,
116-
Explosion &out);
117-
118111
CallEmission(IRGenFunction &IGF, llvm::Value *selfValue, Callee &&callee)
119112
: IGF(IGF), selfValue(selfValue), CurCallee(std::move(callee)) {}
120113

@@ -130,10 +123,6 @@ class CallEmission {
130123
return CurCallee.getSubstitutions();
131124
}
132125

133-
std::optional<Explosion> &getTypedErrorExplosion() {
134-
return typedErrorExplosion;
135-
}
136-
137126
virtual void begin();
138127
virtual void end();
139128
virtual SILType getParameterType(unsigned index) = 0;

0 commit comments

Comments
 (0)