aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-20 01:30:38 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-31 07:39:18 +0800
commitf74cff622dd0eb8d4e64c014731e00fb9ea1d078 (patch)
treee0e813a0777d4c293549cc00ff492576a9a8960a /libsolidity/codegen
parentbc13365a7b3920c361ff2ae5f1a9bb7e98ad07b2 (diff)
downloaddexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.tar
dexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.tar.gz
dexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.tar.bz2
dexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.tar.lz
dexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.tar.xz
dexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.tar.zst
dexon-solidity-f74cff622dd0eb8d4e64c014731e00fb9ea1d078.zip
Properly explain all the analsys steps in CompilerStack
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/ContractCompiler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp
index bbb3db3d..2f15a33d 100644
--- a/libsolidity/codegen/ContractCompiler.cpp
+++ b/libsolidity/codegen/ContractCompiler.cpp
@@ -71,7 +71,11 @@ void ContractCompiler::compileContract(
appendDelegatecallCheck();
initializeContext(_contract, _contracts);
+ // This generates the dispatch function for externally visible functions
+ // and adds the function to the compilation queue. Additionally internal functions,
+ // which are referenced directly or indirectly will be added.
appendFunctionSelector(_contract);
+ // This processes the above populated queue until it is empty.
appendMissingFunctions();
}