mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed const stride issues
This commit is contained in:
parent
e60bbdf64f
commit
8c700e6deb
5 changed files with 34 additions and 3 deletions
|
@ -2949,7 +2949,7 @@ void BeMCContext::CreateStore(BeMCInstKind instKind, const BeMCOperand& val, con
|
|||
//AllocInst(instKind, destOperand, elementVal);
|
||||
CreateStore(instKind, elementVal, destOperand);
|
||||
|
||||
offset += elemType->mSize;
|
||||
offset += elemType->GetStride();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue