mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Hash number literals according to their value instead of their string representation.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
f()
|
||||
g()
|
||||
function f() { mstore(0x01, mload(0x00)) }
|
||||
function g() { mstore(1, mload(0)) }
|
||||
}
|
||||
// ----
|
||||
// step: equivalentFunctionCombiner
|
||||
//
|
||||
// {
|
||||
// f()
|
||||
// f()
|
||||
// function f()
|
||||
// { mstore(0x01, mload(0x00)) }
|
||||
// function g()
|
||||
// { mstore(1, mload(0)) }
|
||||
// }
|
||||
Reference in New Issue
Block a user