aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-16 03:04:24 +0800
committerChristian <c@ethdev.com>2015-01-20 06:35:04 +0800
commit4d833bc86bf10a685a8b5d72e90c49a24a33f8b3 (patch)
tree374e4529cd14685aa302dfda01e180f3bd51eba6 /ExpressionCompiler.cpp
parente6c0a9b922a28001fcbdc4e4ee729659c987caef (diff)
downloaddexon-solidity-4d833bc86bf10a685a8b5d72e90c49a24a33f8b3.tar.gz
dexon-solidity-4d833bc86bf10a685a8b5d72e90c49a24a33f8b3.tar.zst
dexon-solidity-4d833bc86bf10a685a8b5d72e90c49a24a33f8b3.zip
Inheritance in compiler.
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index df90d0d9..5a45bfd6 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -453,7 +453,7 @@ void ExpressionCompiler::endVisit(Identifier const& _identifier)
}
if (FunctionDefinition const* functionDef = dynamic_cast<FunctionDefinition const*>(declaration))
{
- m_context << m_context.getFunctionEntryLabel(*functionDef).pushTag();
+ m_context << m_context.getVirtualFunctionEntryLabel(*functionDef).pushTag();
return;
}
if (dynamic_cast<VariableDeclaration const*>(declaration))