Merge pull request #9882 from ethereum/invalidOnErrorYul

[SolYul] Use invalid opcode for internal errors
This commit is contained in:
chriseth
2020-09-24 19:37:44 +02:00
committed by GitHub
19 changed files with 166 additions and 84 deletions
+3 -3
View File
@@ -14,9 +14,9 @@ contract C {
}
// ----
// creation:
// codeDepositCost: 1094400
// executionCost: 1134
// totalCost: 1095534
// codeDepositCost: 1106800
// executionCost: 1147
// totalCost: 1107947
// external:
// a(): 1130
// b(uint256): infinite
@@ -17,9 +17,9 @@ contract C {
// optimize-yul: true
// ----
// creation:
// codeDepositCost: 597000
// executionCost: 632
// totalCost: 597632
// codeDepositCost: 604400
// executionCost: 638
// totalCost: 605038
// external:
// a(): 1029
// b(uint256): 2084