aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-25 16:53:28 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-25 16:53:28 +0800
commit54121a0d787df1b730fa523b21040c312dda4bf6 (patch)
treee877533709f76cd894cd4610e3dda5567d963576 /Compiler.h
parentfb328b778cdd0c6022ce072689cb3d8b333232f8 (diff)
downloaddexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.tar
dexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.tar.gz
dexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.tar.bz2
dexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.tar.lz
dexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.tar.xz
dexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.tar.zst
dexon-solidity-54121a0d787df1b730fa523b21040c312dda4bf6.zip
Styling changes for SourceLocation and friends
Diffstat (limited to 'Compiler.h')
-rw-r--r--Compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Compiler.h b/Compiler.h
index a35a18e1..67f3a18e 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -41,6 +41,7 @@ public:
bytes getAssembledBytecode() { return m_context.getAssembledBytecode(m_optimize); }
bytes getRuntimeBytecode() { return m_runtimeContext.getAssembledBytecode(m_optimize);}
void streamAssembly(std::ostream& _stream) const { m_context.streamAssembly(_stream); }
+ /// Getters for compiler contexts. Only for testing purposes.
CompilerContext const& getContext() const { return m_context; }
CompilerContext const& getRuntimeContext() const { return m_runtimeContext; }