Mercurial > projects > ldc
diff gen/naked.cpp @ 1019:80490f65d4e1
Removed some code that wasn't supposed to be in last commit!
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 01 Mar 2009 19:06:47 +0100 |
parents | e8c6dbcd33d1 |
children | 474d7dd54d43 |
line wrap: on
line diff
--- a/gen/naked.cpp Sun Mar 01 19:01:05 2009 +0100 +++ b/gen/naked.cpp Sun Mar 01 19:06:47 2009 +0100 @@ -175,13 +175,6 @@ return b->CreateInsertValue(undef, orig, 0, "asm.ret"); } -static LLValue* x86_cfloatRetFixup(IRBuilderHelper b, LLValue* orig) { - assert(orig->getType() == LLType::DoubleTy); - LLType* retty = LLStructType::get(LLType::DoubleTy, NULL); - LLValue* undef = llvm::UndefValue::get(retty); - return b->CreateInsertValue(undef, orig, 0, "asm.ret"); -} - void emitABIReturnAsmStmt(IRAsmBlock* asmblock, Loc loc, FuncDeclaration* fdecl) { Logger::println("emitABIReturnAsmStmt(%s)", fdecl->mangle());