Browse Source

Merge pull request #2057 from chriseth/sol_fix_accessorsDuplicateTags

Do not put duplicate labels for accessor functions.
cl-refactor
chriseth 10 years ago
parent
commit
f9f1f2bea4
  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