Implement uninitialized storage functions.

This commit is contained in:
chriseth
2016-11-16 14:37:18 +01:00
parent b6992d740a
commit 47794c1da4
4 changed files with 19 additions and 14 deletions
+1
View File
@@ -485,6 +485,7 @@ LinkerObject const& Assembly::assemble() const
break;
case Tag:
tagPos[(unsigned)i.data()] = ret.bytecode.size();
assertThrow(ret.bytecode.size() < 0xffffffffL, AssemblyException, "Tag too large.");
assertThrow(i.data() != 0, AssemblyException, "");
ret.bytecode.push_back((byte)Instruction::JUMPDEST);
break;