aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler.h')
-rw-r--r--Compiler.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Compiler.h b/Compiler.h
index 3887d3b5..70e6c44f 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -32,13 +32,10 @@ class Compiler: private ASTVisitor
public:
Compiler(): m_returnTag(m_context.newTag()) {}
- void compileContract(ContractDefinition& _contract);
+ void compileContract(ContractDefinition& _contract, std::vector<MagicVariableDeclaration const*> const& _magicGlobals);
bytes getAssembledBytecode(bool _optimize = false) { return m_context.getAssembledBytecode(_optimize); }
void streamAssembly(std::ostream& _stream) const { m_context.streamAssembly(_stream); }
- /// Compile the given contract and return the EVM bytecode.
- static bytes compile(ContractDefinition& _contract, bool _optimize);
-
private:
/// Creates a new compiler context / assembly, packs the current code into the data part and
/// adds the constructor code.