aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r--CompilerStack.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp
index 69dbced0..10504a24 100644
--- a/CompilerStack.cpp
+++ b/CompilerStack.cpp
@@ -155,6 +155,16 @@ bytes const& CompilerStack::compile(string const& _sourceCode, bool _optimize)
return getBytecode();
}
+eth::AssemblyItems const& CompilerStack::getAssemblyItems(string const& _contractName) const
+{
+ return getContract(_contractName).compiler->getAssemblyItems();
+}
+
+eth::AssemblyItems const& CompilerStack::getRuntimeAssemblyItems(string const& _contractName) const
+{
+ return getContract(_contractName).compiler->getRuntimeAssemblyItems();
+}
+
bytes const& CompilerStack::getBytecode(string const& _contractName) const
{
return getContract(_contractName).bytecode;