Store current source location in Yul IR generation.

This commit is contained in:
chriseth
2020-09-15 14:41:46 +02:00
parent 5355e85639
commit b1ccf73511
2 changed files with 61 additions and 2 deletions
@@ -179,10 +179,13 @@ private:
static Type const& type(Expression const& _expression);
void setLocation(ASTNode const& _node);
std::ostringstream m_code;
IRGenerationContext& m_context;
YulUtilFunctions& m_utils;
std::optional<IRLValue> m_currentLValue;
langutil::SourceLocation m_currentLocation;
};
}