mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 19:36:06 +03:00
Removed some code that wasn't supposed to be in last commit!
This commit is contained in:
parent
61dfb11bc5
commit
ee1e545a0a
2 changed files with 1 additions and 8 deletions
|
@ -478,7 +478,7 @@ void DtoAssign(Loc& loc, DValue* lhs, DValue* rhs)
|
||||||
DtoStore(r, l);
|
DtoStore(r, l);
|
||||||
}
|
}
|
||||||
else if (t->iscomplex()) {
|
else if (t->iscomplex()) {
|
||||||
LLValue *dst, *src;
|
LLValue* dst;
|
||||||
if (DLRValue* lr = lhs->isLRValue()) {
|
if (DLRValue* lr = lhs->isLRValue()) {
|
||||||
dst = lr->getLVal();
|
dst = lr->getLVal();
|
||||||
rhs = DtoCastComplex(loc, rhs, lr->getLType());
|
rhs = DtoCastComplex(loc, rhs, lr->getLType());
|
||||||
|
|
|
@ -175,13 +175,6 @@ static LLValue* x86_64_cfloatRetFixup(IRBuilderHelper b, LLValue* orig) {
|
||||||
return b->CreateInsertValue(undef, orig, 0, "asm.ret");
|
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)
|
void emitABIReturnAsmStmt(IRAsmBlock* asmblock, Loc loc, FuncDeclaration* fdecl)
|
||||||
{
|
{
|
||||||
Logger::println("emitABIReturnAsmStmt(%s)", fdecl->mangle());
|
Logger::println("emitABIReturnAsmStmt(%s)", fdecl->mangle());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue