Mercurial > projects > ldc
comparison gen/llvmhelpers.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 | 4d366a75d95f |
comparison
equal
deleted
inserted
replaced
1018:e8c6dbcd33d1 | 1019:80490f65d4e1 |
---|---|
476 } | 476 } |
477 r = DtoBitCast(r, l->getType()->getContainedType(0)); | 477 r = DtoBitCast(r, l->getType()->getContainedType(0)); |
478 DtoStore(r, l); | 478 DtoStore(r, l); |
479 } | 479 } |
480 else if (t->iscomplex()) { | 480 else if (t->iscomplex()) { |
481 LLValue *dst, *src; | 481 LLValue* dst; |
482 if (DLRValue* lr = lhs->isLRValue()) { | 482 if (DLRValue* lr = lhs->isLRValue()) { |
483 dst = lr->getLVal(); | 483 dst = lr->getLVal(); |
484 rhs = DtoCastComplex(loc, rhs, lr->getLType()); | 484 rhs = DtoCastComplex(loc, rhs, lr->getLType()); |
485 } | 485 } |
486 else { | 486 else { |