mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-29 18:40:04 +02:00
Implement implicit return after inline asm on x86_64
This commit is contained in:
@@ -89,8 +89,10 @@ struct IRAsmBlock
|
||||
const LLType* retty;
|
||||
unsigned retn;
|
||||
bool retemu; // emulate abi ret with a temporary
|
||||
LLValue* (*retfixup)(IRBuilderHelper b, LLValue* orig); // Modifies retval
|
||||
|
||||
IRAsmBlock(AsmBlockStatement* b) : asmBlock(b), retty(NULL), retn(0), retemu(false) {}
|
||||
IRAsmBlock(AsmBlockStatement* b)
|
||||
: asmBlock(b), retty(NULL), retn(0), retemu(false), retfixup(NULL) {}
|
||||
};
|
||||
|
||||
// llvm::CallInst and llvm::InvokeInst don't share a common base
|
||||
|
||||
Reference in New Issue
Block a user