aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerContext.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-17 08:14:15 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-22 17:51:46 +0800
commite2cfc9ee92158169b5dd058074f25d67959e9875 (patch)
tree90cb281b48f95bdcc9904ed12def22bffcb88fb7 /libsolidity/codegen/CompilerContext.h
parentc94b1f81730c27480cb5813a7a909511613c14c5 (diff)
downloaddexon-solidity-e2cfc9ee92158169b5dd058074f25d67959e9875.tar.gz
dexon-solidity-e2cfc9ee92158169b5dd058074f25d67959e9875.tar.zst
dexon-solidity-e2cfc9ee92158169b5dd058074f25d67959e9875.zip
Mark a lot of functions const (where possible)
Diffstat (limited to 'libsolidity/codegen/CompilerContext.h')
-rw-r--r--libsolidity/codegen/CompilerContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/CompilerContext.h b/libsolidity/codegen/CompilerContext.h
index 583360ea..96cbf6c1 100644
--- a/libsolidity/codegen/CompilerContext.h
+++ b/libsolidity/codegen/CompilerContext.h
@@ -208,8 +208,8 @@ public:
return m_asm->stream(_stream, "", _sourceCodes, _inJsonFormat);
}
- eth::LinkerObject const& assembledObject() { return m_asm->assemble(); }
- eth::LinkerObject const& assembledRuntimeObject(size_t _subIndex) { return m_asm->sub(_subIndex).assemble(); }
+ eth::LinkerObject const& assembledObject() const { return m_asm->assemble(); }
+ eth::LinkerObject const& assembledRuntimeObject(size_t _subIndex) const { return m_asm->sub(_subIndex).assemble(); }
/**
* Helper class to pop the visited nodes stack when a scope closes