diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 19:02:58 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-25 19:02:58 +0800 |
commit | f43f79137bd31ea2e81518116e0b33645f8e7f73 (patch) | |
tree | 9a96260527de49d6fc806158886d71ffabbc9225 | |
parent | b480b76015cff5c1b64747e2930b34e2aeb65a79 (diff) | |
download | dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar.gz dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar.bz2 dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar.lz dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar.xz dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar.zst dexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.zip |
Tighter coupling for Assembly items retrieval
- Exposing only assembly items, not the entire compiler context
-rw-r--r-- | Assembly.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assembly.cpp b/Assembly.cpp index 60f10d08..1837feac 100644 --- a/Assembly.cpp +++ b/Assembly.cpp @@ -64,7 +64,7 @@ eth::AssemblyItems compileContract(const string& _sourceCode) Compiler compiler; compiler.compileContract(*contract, map<ContractDefinition const*, bytes const*>{}); - return compiler.getRuntimeContext().getAssembly().getItems(); + return compiler.getRuntimeAssemblyItems(); } BOOST_FAIL("No contract found in source."); return AssemblyItems(); |