1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Better ToString support for values

This commit is contained in:
Brian Fiete 2020-06-16 07:50:40 -07:00
parent cbacf99a61
commit 014ce28195
5 changed files with 43 additions and 34 deletions

View file

@ -2128,7 +2128,6 @@ String BeMCContext::ToString(const BeMCOperand& operand)
if (operand.mKind == BeMCOperandKind_ConstAgg)
{
BeDumpContext dumpContext;
dumpContext.mModule = mBeFunction->mModule;
String str = "const ";
str += dumpContext.ToString(operand.mConstant);
return str;