Browse Source

Do not put duplicate labels for accessor functions.

cl-refactor
chriseth 10 years ago
parent
commit
b81ae7d470
  1. 1
      libsolidity/Compiler.cpp

1
libsolidity/Compiler.cpp

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

Loading…
Cancel
Save