diff options
author | chriseth <c@ethdev.com> | 2015-11-24 21:54:37 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-11-24 21:54:37 +0800 |
commit | 68f1da1e3ad6ab914e8f633ac7f661b38894ca2b (patch) | |
tree | 92850d5bd017c4eb2ecdd2da61eb8978f1ac1c31 /libsolidity/codegen/Compiler.h | |
parent | 588e4232eb55d501aea5c7bff513843815b0fd52 (diff) | |
download | dexon-solidity-68f1da1e3ad6ab914e8f633ac7f661b38894ca2b.tar.gz dexon-solidity-68f1da1e3ad6ab914e8f633ac7f661b38894ca2b.tar.zst dexon-solidity-68f1da1e3ad6ab914e8f633ac7f661b38894ca2b.zip |
Fixed string inside struct allocation bug.
Diffstat (limited to 'libsolidity/codegen/Compiler.h')
-rw-r--r-- | libsolidity/codegen/Compiler.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libsolidity/codegen/Compiler.h b/libsolidity/codegen/Compiler.h index 14314434..9d069f7c 100644 --- a/libsolidity/codegen/Compiler.h +++ b/libsolidity/codegen/Compiler.h @@ -92,13 +92,6 @@ private: void registerStateVariables(ContractDefinition const& _contract); void initializeStateVariables(ContractDefinition const& _contract); - /// Initialises all memory arrays in the local variables to point to an empty location. - void initialiseMemoryArrays(std::vector<VariableDeclaration const*> _variables); - /// Pushes the initialised value of the given type to the stack. If the type is a memory - /// reference type, allocates memory and pushes the memory pointer. - /// Not to be used for storage references. - void initialiseInMemory(Type const& _type); - virtual bool visit(VariableDeclaration const& _variableDeclaration) override; virtual bool visit(FunctionDefinition const& _function) override; virtual bool visit(IfStatement const& _ifStatement) override; |