diff options
author | chriseth <chris@ethereum.org> | 2018-08-07 19:00:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-07 19:00:34 +0800 |
commit | c6278fbae1e1dac33ebfad7e8d42e071c9e78914 (patch) | |
tree | d6772c27c34253ff8fc249eb1fc18f1ec2b49a4d /libsolidity/codegen/ContractCompiler.h | |
parent | d0bfe4b2254a9fa30429215fba8cd7e47db7a3b0 (diff) | |
parent | 71e26f6adb7d6b28400a6607570bb1e17da24feb (diff) | |
download | dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.tar dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.tar.gz dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.tar.bz2 dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.tar.lz dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.tar.xz dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.tar.zst dexon-solidity-c6278fbae1e1dac33ebfad7e8d42e071c9e78914.zip |
Merge pull request #4701 from ethereum/removeClone
Remove clone feature.
Diffstat (limited to 'libsolidity/codegen/ContractCompiler.h')
-rw-r--r-- | libsolidity/codegen/ContractCompiler.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libsolidity/codegen/ContractCompiler.h b/libsolidity/codegen/ContractCompiler.h index 8516ec2c..5fa650b1 100644 --- a/libsolidity/codegen/ContractCompiler.h +++ b/libsolidity/codegen/ContractCompiler.h @@ -56,13 +56,6 @@ public: ContractDefinition const& _contract, std::map<ContractDefinition const*, eth::Assembly const*> const& _contracts ); - /// Compiles a contract that uses DELEGATECALL to call into a pre-deployed version of the given - /// contract at runtime, but contains the full creation-time code. - /// @returns the identifier of the runtime sub-assembly. - size_t compileClone( - ContractDefinition const& _contract, - std::map<ContractDefinition const*, eth::Assembly const*> const& _contracts - ); private: /// Registers the non-function objects inside the contract with the context and stores the basic @@ -122,9 +115,6 @@ private: void appendStackVariableInitialisation(VariableDeclaration const& _variable); void compileExpression(Expression const& _expression, TypePointer const& _targetType = TypePointer()); - /// @returns the runtime assembly for clone contracts. - eth::AssemblyPointer cloneRuntime() const; - /// Frees the variables of a certain scope (to be used when leaving). void popScopedVariables(ASTNode const* _node); |