diff options
author | chriseth <c@ethdev.com> | 2015-09-11 01:40:07 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-09-11 21:21:37 +0800 |
commit | 976c380b615f71c9e5b59c9b6bcadefbd79c086f (patch) | |
tree | 6ce25599b74529619f4421a9bd3db76eecb80b80 /libsolidity/CompilerContext.h | |
parent | a9edc7b1a601747f96e47fe60a5fc10df489696f (diff) | |
download | dexon-solidity-976c380b615f71c9e5b59c9b6bcadefbd79c086f.tar.gz dexon-solidity-976c380b615f71c9e5b59c9b6bcadefbd79c086f.tar.zst dexon-solidity-976c380b615f71c9e5b59c9b6bcadefbd79c086f.zip |
Possibility to call library functions.
Diffstat (limited to 'libsolidity/CompilerContext.h')
-rw-r--r-- | libsolidity/CompilerContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/CompilerContext.h b/libsolidity/CompilerContext.h index 34b63a9c..39f4e75f 100644 --- a/libsolidity/CompilerContext.h +++ b/libsolidity/CompilerContext.h @@ -112,6 +112,8 @@ public: void appendProgramSize() { return m_asm.appendProgramSize(); } /// Adds data to the data section, pushes a reference to the stack eth::AssemblyItem appendData(bytes const& _data) { return m_asm.append(_data); } + /// Appends the address (virtual, will be filled in by linker) of a library. + void appendLibraryAddress(std::string const& _identifier) { m_asm.appendLibraryAddress(_identifier); } /// Resets the stack of visited nodes with a new stack having only @c _node void resetVisitedNodes(ASTNode const* _node); /// Pops the stack of visited nodes |