strength_reduce.sol 253 B

123456789101112
  1. contract test {
  2. function f() public {
  3. for (uint256 i = 0; i < 10; i++) {
  4. // this multiply can be done with a 64 bit instruction
  5. g(i * 100);
  6. }
  7. }
  8. function g(uint256 v) internal {
  9. // ...
  10. }
  11. }