Mercurial > projects > ldc
comparison gen/functions.cpp @ 334:20446d22f832 trunk
[svn r355] Get rid of IRState::exps and topexp.
author | ChristianK |
---|---|
date | Sat, 12 Jul 2008 15:43:13 +0200 |
parents | 8c1dc3e705da |
children | aaade6ded589 |
comparison
equal
deleted
inserted
replaced
333:f7190d9eb70c | 334:20446d22f832 |
---|---|
826 void DtoVariadicArgument(Expression* argexp, LLValue* dst) | 826 void DtoVariadicArgument(Expression* argexp, LLValue* dst) |
827 { | 827 { |
828 Logger::println("DtoVariadicArgument"); | 828 Logger::println("DtoVariadicArgument"); |
829 LOG_SCOPE; | 829 LOG_SCOPE; |
830 DVarValue* vv = new DVarValue(argexp->type, dst, true); | 830 DVarValue* vv = new DVarValue(argexp->type, dst, true); |
831 gIR->exps.push_back(IRExp(NULL, argexp, vv)); | |
832 DtoAssign(vv, argexp->toElem(gIR)); | 831 DtoAssign(vv, argexp->toElem(gIR)); |
833 gIR->exps.pop_back(); | 832 } |
834 } | 833 |
835 | 834 ////////////////////////////////////////////////////////////////////////////////////////// |
836 ////////////////////////////////////////////////////////////////////////////////////////// |