Mercurial > projects > ldc
diff gen/irstate.h @ 959:7e669954db7d
Implement implicit return after inline asm on x86_64
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 15 Feb 2009 18:04:22 +0100 |
parents | e048e36bc155 |
children | 985104c0f1db |
line wrap: on
line diff
--- a/gen/irstate.h Sun Feb 15 14:54:36 2009 +0100 +++ b/gen/irstate.h Sun Feb 15 18:04:22 2009 +0100 @@ -89,8 +89,10 @@ 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