mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move Literal to u256 conversions to extra functions
That way we can reuse them at different places
This commit is contained in:
@@ -27,6 +27,9 @@ namespace yul
|
||||
{
|
||||
|
||||
dev::u256 valueOfNumberLiteral(Literal const& _literal);
|
||||
dev::u256 valueOfStringLiteral(Literal const& _literal);
|
||||
dev::u256 valueOfBoolLiteral(Literal const& _literal);
|
||||
dev::u256 valueOfLiteral(Literal const& _literal);
|
||||
|
||||
/**
|
||||
* Linear order on Yul AST nodes.
|
||||
|
||||
Reference in New Issue
Block a user