mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-11 01:13:14 +01:00
Fix bug in default implementation of ABIRewrite::getL.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user