diff options
author | chriseth <chris@ethereum.org> | 2017-12-07 22:43:09 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-05-02 23:36:10 +0800 |
commit | 79c415b104a69c24ae2e5e5a99c496856e7be504 (patch) | |
tree | f92fb2fcacc9da562e625a524981d9c31ba4dd0c /libjulia/optimiser/NameCollector.cpp | |
parent | e681f4ee7924ebc419e0bd878b8640c63b17a0c8 (diff) | |
download | dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.tar dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.tar.gz dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.tar.bz2 dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.tar.lz dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.tar.xz dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.tar.zst dexon-solidity-79c415b104a69c24ae2e5e5a99c496856e7be504.zip |
Use hoisting.
Diffstat (limited to 'libjulia/optimiser/NameCollector.cpp')
-rw-r--r-- | libjulia/optimiser/NameCollector.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libjulia/optimiser/NameCollector.cpp b/libjulia/optimiser/NameCollector.cpp index 510ee289..c0d0b707 100644 --- a/libjulia/optimiser/NameCollector.cpp +++ b/libjulia/optimiser/NameCollector.cpp @@ -35,7 +35,6 @@ void NameCollector::operator()(VariableDeclaration const& _varDecl) void NameCollector::operator ()(FunctionDefinition const& _funDef) { m_names.insert(_funDef.name); - m_functions[_funDef.name] = &_funDef; for (auto const arg: _funDef.parameters) m_names.insert(arg.name); for (auto const ret: _funDef.returnVariables) |