diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-03-04 01:11:10 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-03-05 19:08:43 +0800 |
commit | e32bf97e87621bbb1de9623482c84d448e9884ac (patch) | |
tree | 6f78d33c7d4041f95562b35505089d4d5f2608b4 /CompilerStack.cpp | |
parent | a4d772315d814408c057a9473c2c1fefa351a5b4 (diff) | |
download | dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.tar dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.tar.gz dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.tar.bz2 dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.tar.lz dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.tar.xz dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.tar.zst dexon-solidity-e32bf97e87621bbb1de9623482c84d448e9884ac.zip |
to include source lines in output stream AssemblyItem's appropriate function is now receiving the map of fileNames to sourceCodes as argument.
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r-- | CompilerStack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp index 10504a24..a878bb61 100644 --- a/CompilerStack.cpp +++ b/CompilerStack.cpp @@ -180,9 +180,9 @@ dev::h256 CompilerStack::getContractCodeHash(string const& _contractName) const return dev::sha3(getRuntimeBytecode(_contractName)); } -void CompilerStack::streamAssembly(ostream& _outStream, string const& _contractName) const +void CompilerStack::streamAssembly(ostream& _outStream, string const& _contractName, StringMap _sourceCodes) const { - getContract(_contractName).compiler->streamAssembly(_outStream); + getContract(_contractName).compiler->streamAssembly(_outStream, _sourceCodes); } string const& CompilerStack::getInterface(string const& _contractName) const |