Use actual type checking phase of assembler.

This commit is contained in:
chriseth
2017-04-25 16:49:03 +02:00
parent e0849f2f3b
commit c6fa78c73e
9 changed files with 49 additions and 42 deletions
-3
View File
@@ -44,9 +44,6 @@ class CodeGenerator
public:
CodeGenerator(Block const& _parsedData, ErrorList& _errors):
m_parsedData(_parsedData), m_errors(_errors) {}
/// Performs type checks and @returns false on error.
/// Actually runs the full code generation but discards the result.
bool typeCheck(ExternalIdentifierAccess const& _identifierAccess = ExternalIdentifierAccess());
/// Performs code generation and @returns the result.
eth::Assembly assemble(ExternalIdentifierAccess const& _identifierAccess = ExternalIdentifierAccess());
/// Performs code generation and appends generated to to _assembly.