mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Sol -> Yul Generation: Implicit conversions
This commit is contained in:
committed by
chriseth
parent
6292adbde6
commit
944ac6fb6d
@@ -53,6 +53,10 @@ public:
|
||||
bool visit(Literal const& _literal) override;
|
||||
|
||||
private:
|
||||
/// @returns a Yul expression representing the current value of @a _expression,
|
||||
/// converted to type @a _to if it does not yet have that type.
|
||||
std::string expressionAsType(Expression const& _expression, Type const& _to);
|
||||
|
||||
std::ostringstream m_code;
|
||||
IRGenerationContext& m_context;
|
||||
YulUtilFunctions& m_utils;
|
||||
|
||||
Reference in New Issue
Block a user