diff options
author | chriseth <chris@ethereum.org> | 2016-12-02 18:23:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-02 18:23:45 +0800 |
commit | 3a01a87afe3468421f31aa5097796dcc88e37e26 (patch) | |
tree | 9069fcc823ca4b27b6add0c7278f1086923eb36e /libsolidity/codegen/CompilerContext.h | |
parent | 55a719a79c1ab5b78ea6e1bcb4f27a888494a538 (diff) | |
parent | 5098e1eb15678859d1bd5e9172184d6525e03863 (diff) | |
download | dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.gz dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.bz2 dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.lz dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.xz dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.tar.zst dexon-solidity-3a01a87afe3468421f31aa5097796dcc88e37e26.zip |
Merge pull request #1386 from ethereum/metadataOut
Metadata stamp
Diffstat (limited to 'libsolidity/codegen/CompilerContext.h')
-rw-r--r-- | libsolidity/codegen/CompilerContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerContext.h b/libsolidity/codegen/CompilerContext.h index 3c6d9d73..80671528 100644 --- a/libsolidity/codegen/CompilerContext.h +++ b/libsolidity/codegen/CompilerContext.h @@ -152,8 +152,8 @@ public: std::map<std::string, std::string> const& _replacements = std::map<std::string, std::string>{} ); - /// Prepends "PUSH <compiler version number> POP" - void injectVersionStampIntoSub(size_t _subIndex); + /// Appends arbitrary data to the end of the bytecode. + void appendAuxiliaryData(bytes const& _data) { m_asm->appendAuxiliaryDataToEnd(_data); } void optimise(bool _fullOptimsation, unsigned _runs = 200) { m_asm->optimise(_fullOptimsation, true, _runs); } |