Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/IRGen/CallEmission.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include "Address.h"
#include "Callee.h"
#include "Explosion.h"
#include "Temporary.h"

namespace llvm {
Expand Down Expand Up @@ -88,6 +89,7 @@ class CallEmission {

unsigned IndirectTypedErrorArgIdx = 0;

std::optional<Explosion> typedErrorExplosion;

virtual void setFromCallee();
void emitToUnmappedMemory(Address addr);
Expand Down Expand Up @@ -123,6 +125,10 @@ class CallEmission {
return CurCallee.getSubstitutions();
}

std::optional<Explosion> &getTypedErrorExplosion() {
return typedErrorExplosion;
}

virtual void begin();
virtual void end();
virtual SILType getParameterType(unsigned index) = 0;
Expand Down
Loading