aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/Compiler.h')
-rw-r--r--libsolidity/Compiler.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libsolidity/Compiler.h b/libsolidity/Compiler.h
index bec2b064..f9b12a02 100644
--- a/libsolidity/Compiler.h
+++ b/libsolidity/Compiler.h
@@ -50,8 +50,8 @@ public:
ContractDefinition const& _contract,
std::map<ContractDefinition const*, bytes const*> const& _contracts
);
- bytes getAssembledBytecode() { return m_context.getAssembledBytecode(); }
- bytes getRuntimeBytecode() { return m_context.getAssembledRuntimeBytecode(m_runtimeSub); }
+ bytes assembledBytecode() { return m_context.assembledBytecode(); }
+ bytes runtimeBytecode() { return m_context.assembledRuntimeBytecode(m_runtimeSub); }
/// @arg _sourceCodes is the map of input files to source code strings
/// @arg _inJsonFromat shows whether the out should be in Json format
Json::Value streamAssembly(std::ostream& _stream, StringMap const& _sourceCodes = StringMap(), bool _inJsonFormat = false) const
@@ -59,13 +59,13 @@ public:
return m_context.streamAssembly(_stream, _sourceCodes, _inJsonFormat);
}
/// @returns Assembly items of the normal compiler context
- eth::AssemblyItems const& getAssemblyItems() const { return m_context.getAssembly().getItems(); }
+ eth::AssemblyItems const& assemblyItems() const { return m_context.assembly().getItems(); }
/// @returns Assembly items of the runtime compiler context
- eth::AssemblyItems const& getRuntimeAssemblyItems() const { return m_context.getAssembly().getSub(m_runtimeSub).getItems(); }
+ eth::AssemblyItems const& runtimeAssemblyItems() const { return m_context.assembly().getSub(m_runtimeSub).getItems(); }
/// @returns the entry label of the given function. Might return an AssemblyItem of type
/// UndefinedItem if it does not exist yet.
- eth::AssemblyItem getFunctionEntryLabel(FunctionDefinition const& _function) const;
+ eth::AssemblyItem functionEntryLabel(FunctionDefinition const& _function) const;
private:
/// Registers the non-function objects inside the contract with the context.
@@ -122,7 +122,7 @@ private:
void compileExpression(Expression const& _expression, TypePointer const& _targetType = TypePointer());
/// @returns the runtime assembly for clone contracts.
- static eth::Assembly getCloneRuntime();
+ static eth::Assembly cloneRuntime();
bool const m_optimize;
unsigned const m_optimizeRuns;