Fix bug in default implementation of ABIRewrite::getL.

This commit is contained in:
Frits van Bommel
2009-03-04 23:06:23 +01:00
parent 65ba1d4d88
commit d257890e29

View File

@@ -17,7 +17,7 @@
void ABIRewrite::getL(Type* dty, DValue* v, llvm::Value* lval)
{
LLValue* rval = v->getRVal();
LLValue* rval = get(dty, v);
assert(rval->getType() == lval->getType()->getContainedType(0));
DtoStore(rval, lval);
}