aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-25 19:02:58 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-25 19:02:58 +0800
commitf43f79137bd31ea2e81518116e0b33645f8e7f73 (patch)
tree9a96260527de49d6fc806158886d71ffabbc9225
parentb480b76015cff5c1b64747e2930b34e2aeb65a79 (diff)
downloaddexon-solidity-f43f79137bd31ea2e81518116e0b33645f8e7f73.tar.gz
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.cpp2
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();