diff options
author | chriseth <chris@ethereum.org> | 2019-01-10 23:44:31 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2019-01-18 03:36:48 +0800 |
commit | e6fee257e68e7b145a47eee8c5937db7a7a99849 (patch) | |
tree | d4dce225357536d378d69f1ac87c4c5132d15613 /libsolidity/codegen/ContractCompiler.h | |
parent | 2fcfb216b5dcb5cec2d70d2ee7647df47c8166ca (diff) | |
download | dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.gz dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.tar.zst dexon-solidity-e6fee257e68e7b145a47eee8c5937db7a7a99849.zip |
Code generation for access to contract code.
Diffstat (limited to 'libsolidity/codegen/ContractCompiler.h')
-rw-r--r-- | libsolidity/codegen/ContractCompiler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/codegen/ContractCompiler.h b/libsolidity/codegen/ContractCompiler.h index 40871f0d..9ab006f6 100644 --- a/libsolidity/codegen/ContractCompiler.h +++ b/libsolidity/codegen/ContractCompiler.h @@ -49,13 +49,13 @@ public: void compileContract( ContractDefinition const& _contract, - std::map<ContractDefinition const*, eth::Assembly const*> const& _contracts + std::map<ContractDefinition const*, std::shared_ptr<Compiler const>> const& _otherCompilers ); /// Compiles the constructor part of the contract. /// @returns the identifier of the runtime sub-assembly. size_t compileConstructor( ContractDefinition const& _contract, - std::map<ContractDefinition const*, eth::Assembly const*> const& _contracts + std::map<ContractDefinition const*, std::shared_ptr<Compiler const>> const& _otherCompilers ); private: @@ -63,7 +63,7 @@ private: /// information about the contract like the AST annotations. void initializeContext( ContractDefinition const& _contract, - std::map<ContractDefinition const*, eth::Assembly const*> const& _compiledContracts + std::map<ContractDefinition const*, std::shared_ptr<Compiler const>> const& _otherCompilers ); /// Adds the code that is run at creation time. Should be run after exchanging the run-time context /// with a new and initialized context. Adds the constructor code. |