Mercurial > projects > ldc
changeset 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 |
files | gen/llvmhelpers.cpp gen/naked.cpp |
diffstat | 2 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp Sun Mar 01 19:01:05 2009 +0100 +++ b/gen/llvmhelpers.cpp Sun Mar 01 19:06:47 2009 +0100 @@ -478,7 +478,7 @@ DtoStore(r, l); } else if (t->iscomplex()) { - LLValue *dst, *src; + LLValue* dst; if (DLRValue* lr = lhs->isLRValue()) { dst = lr->getLVal(); rhs = DtoCastComplex(loc, rhs, lr->getLType());
--- 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());