mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Code generation (missing external access and source locations).
This commit is contained in:
@@ -363,6 +363,13 @@ StatementAnnotation& Statement::annotation() const
|
||||
return static_cast<StatementAnnotation&>(*m_annotation);
|
||||
}
|
||||
|
||||
InlineAssemblyAnnotation& InlineAssembly::annotation() const
|
||||
{
|
||||
if (!m_annotation)
|
||||
m_annotation = new InlineAssemblyAnnotation();
|
||||
return static_cast<InlineAssemblyAnnotation&>(*m_annotation);
|
||||
}
|
||||
|
||||
ReturnAnnotation& Return::annotation() const
|
||||
{
|
||||
if (!m_annotation)
|
||||
|
||||
Reference in New Issue
Block a user