Fix state after CompilerStack.reset()

This commit is contained in:
Alex Beregszaszi
2017-06-01 13:44:08 +01:00
parent c212d7c2e6
commit 998ca552b8
2 changed files with 26 additions and 1 deletions
+7
View File
@@ -259,6 +259,13 @@ private:
Json::Value const& contractABI(Contract const&) const;
Json::Value const& natspec(Contract const&, DocumentationType _type) const;
/// @returns the offset of the entry point of the given function into the list of assembly items
/// or zero if it is not found or does not exist.
size_t functionEntryPoint(
std::string const& _contractName,
FunctionDefinition const& _function
) const;
struct Remapping
{
std::string context;