mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Print assembly even if there's no data section
This commit is contained in:
parent
f008ddf836
commit
3273e865ec
@ -315,8 +315,10 @@ Json::Value Assembly::streamAsmJson(ostream& _out, StringMap const& _sourceCodes
|
|||||||
data[hexStr.str()] = m_subs[i]->stream(_out, "", _sourceCodes, true);
|
data[hexStr.str()] = m_subs[i]->stream(_out, "", _sourceCodes, true);
|
||||||
}
|
}
|
||||||
root[".data"] = data;
|
root[".data"] = data;
|
||||||
_out << root;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_out << root;
|
||||||
|
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user