aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-27 21:28:08 +0800
committerGitHub <noreply@github.com>2018-03-27 21:28:08 +0800
commit59538e9a04da1761f3a71f2181c1812fc23a5cb8 (patch)
tree659c3c710f551fbb02085711514332b3923e831f /libsolidity/codegen/CompilerUtils.h
parentaf26228159d6fbf3240291d356878505ba42e33a (diff)
parentfab527c4146f08971938c63074c8c92e6ff241bc (diff)
downloaddexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.tar
dexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.tar.gz
dexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.tar.bz2
dexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.tar.lz
dexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.tar.xz
dexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.tar.zst
dexon-solidity-59538e9a04da1761f3a71f2181c1812fc23a5cb8.zip
Merge pull request #3686 from ethereum/doNotIncludeItnernal
Do not include internal functions only used by constructor
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r--libsolidity/codegen/CompilerUtils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index 76670d47..389673ef 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -188,7 +188,8 @@ public:
/// Appends code that combines the construction-time (if available) and runtime function
/// entry label of the given function into a single stack slot.
/// Note: This might cause the compilation queue of the runtime context to be extended.
- void pushCombinedFunctionEntryLabel(Declaration const& _function);
+ /// If @a _runtimeOnly, the entry label will include the runtime assembly tag.
+ void pushCombinedFunctionEntryLabel(Declaration const& _function, bool _runtimeOnly = true);
/// Appends code for an implicit or explicit type conversion. This includes erasing higher
/// order bits (@see appendHighBitCleanup) when widening integer but also copy to memory