aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/CompilerStack.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-10-07 21:57:17 +0800
committerchriseth <c@ethdev.com>2015-10-07 23:35:07 +0800
commit24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97 (patch)
treebdce0b1394334555ce5764edd451f3003cca8f4a /libsolidity/CompilerStack.h
parent68bf6e60c5869ab1cb862674de44e5ab4c79b5bc (diff)
downloaddexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.tar
dexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.tar.gz
dexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.tar.bz2
dexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.tar.lz
dexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.tar.xz
dexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.tar.zst
dexon-solidity-24d04087d2ee4e5b2769c4bb69e5629bc1aaeb97.zip
Resolve binary dependencies properly.
Diffstat (limited to 'libsolidity/CompilerStack.h')
-rw-r--r--libsolidity/CompilerStack.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libsolidity/CompilerStack.h b/libsolidity/CompilerStack.h
index e541ea47..da26148d 100644
--- a/libsolidity/CompilerStack.h
+++ b/libsolidity/CompilerStack.h
@@ -39,6 +39,7 @@ namespace dev
namespace eth
{
+class Assembly;
class AssemblyItem;
using AssemblyItems = std::vector<AssemblyItem>;
}
@@ -195,6 +196,13 @@ private:
};
void resolveImports();
+ /// Compile a single contract and put the result in @a _compiledContracts.
+ void compileContract(
+ bool _optimize,
+ unsigned _runs,
+ ContractDefinition const& _contract,
+ std::map<ContractDefinition const*, eth::Assembly const*>& _compiledContracts
+ );
Contract const& contract(std::string const& _contractName = "") const;
Source const& source(std::string const& _sourceName = "") const;