mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Compiler fix
This commit is contained in:
parent
f4f38ecb0e
commit
eed10c5d81
@ -777,7 +777,7 @@ LinkerObject const& Assembly::assemble(bool eof) const
|
|||||||
auto const dataLength = ret.bytecode.size() - dataStart;
|
auto const dataLength = ret.bytecode.size() - dataStart;
|
||||||
if (eof)
|
if (eof)
|
||||||
{
|
{
|
||||||
assertThrow(dataLength >= 0 && dataLength <= 0xffff, AssemblyException, "Invalid data section size.");
|
assertThrow(/*dataLength >= 0 && */ dataLength <= 0xffff, AssemblyException, "Invalid data section size.");
|
||||||
toBigEndian(uint16_t(dataLength), eofDataLength);
|
toBigEndian(uint16_t(dataLength), eofDataLength);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user