Do not put duplicate labels for accessor functions.

This commit is contained in:
chriseth 2015-06-01 18:30:05 +02:00
parent 408fd7ab59
commit b7e5c1d9d2

View File

@ -288,7 +288,6 @@ bool Compiler::visit(VariableDeclaration const& _variableDeclaration)
m_breakTags.clear();
m_continueTags.clear();
m_context << m_context.getFunctionEntryLabel(_variableDeclaration);
ExpressionCompiler(m_context, m_optimize).appendStateVariableAccessor(_variableDeclaration);
return false;