Commit Graph

22056 Commits

Author SHA1 Message Date
Mathias L. Baumann
6c06d27f00
Merge pull request #12839 from ethereum/lsp-test-fail-fast
lsp.py: Adds --fail-fast (-f) to terminate early on first failure.
2022-03-23 18:24:07 +01:00
Christian Parpart
13a4c79a9b lsp.py: Adds --fail-fast (-f) to terminate early on first failure. 2022-03-23 17:34:04 +01:00
Christian Parpart
43f29c00da
Merge pull request #12724 from ethereum/lsp-tests
Implement & use markers in existing test framework
2022-03-21 13:54:33 +01:00
Marenz
0bf674b442 LSP test: Minor refactoring and better exception reporting 2022-03-21 13:23:02 +01:00
chriseth
430ecb6e16
Merge pull request #12795 from ethereum/morePopRemovalInPeepholeOptimizer
More pop removal in peephole optimizer.
2022-03-17 12:22:48 +01:00
chriseth
cd19023bfb
Merge pull request #12810 from hroussille/create2-documentation-error
Fixed ambiguity in the create2 address computation doc
2022-03-17 11:46:50 +01:00
Hector Roussille
040c444a2a Fixed ambiguity in the create2 address computation doc
specify that arguments are encoded using abi.encode in the example code
2022-03-16 19:56:11 +01:00
chriseth
10b581b8e8
Merge pull request #12808 from ethereum/simplifyRematCandidates
Simplify rematerialization candidates.
2022-03-16 17:42:38 +01:00
chriseth
a054285f31 Simplify rematerialization candidates. 2022-03-16 16:43:21 +01:00
chriseth
af86a80536
Merge pull request #12796 from ethereum/refactorStackCompressor
Refactor stack compressor
2022-03-16 16:36:41 +01:00
Daniel Kirchner
4b9c01752d Test updates. 2022-03-16 15:34:38 +01:00
Daniel Kirchner
54ab09fee8 Additional peephole optimizer rules for removing side-effect free instructions before simple terminations. 2022-03-16 15:34:37 +01:00
chriseth
936b07a979
Merge pull request #12805 from ethereum/setversionto0814
Set version to 0.8.14.
2022-03-16 15:29:20 +01:00
chriseth
e786bf9b5a Set version to 0.8.14. 2022-03-16 14:38:15 +01:00
chriseth
abaa5c0eb3
Merge pull request #12801 from ethereum/cse-optimization
CSE optimization
2022-03-16 13:54:28 +01:00
wechman
8b0845fe97 CommonSubexpressionEliminator performance optimization 2022-03-16 12:57:38 +01:00
chriseth
281b68b83a
Merge pull request #12803 from ethereum/documentsatetvarinitcahnge
Move state variable initialization to top.
2022-03-16 12:43:43 +01:00
chriseth
1be21e2670 Move state variable initialization to top. 2022-03-16 12:23:23 +01:00
chriseth
6eece8114a
Merge pull request #12800 from ethereum/setreleasefor0813
Set release date.
2022-03-16 11:12:57 +01:00
chriseth
acd488532d Set release date. 2022-03-16 10:28:40 +01:00
chriseth
75abe92eb2 Refactor stack compressor. 2022-03-15 21:28:47 +01:00
chriseth
724af73fb8
Merge pull request #12759 from ethereum/evmCodeTransformAvoidPops
Avoid unnecessary pops in evm code transform.
2022-03-15 19:14:46 +01:00
Daniel Kirchner
5cd98006d4 Fill in junk in stack layouts on terminating control flow paths. 2022-03-15 18:36:55 +01:00
Daniel Kirchner
b6cd3e154c Test case for current behaviour. 2022-03-15 18:36:30 +01:00
chriseth
5afa2adec2
Merge pull request #12775 from ethereum/refactorDataFlowAnalyzer
Refactor data flow analyzer state access.
2022-03-15 15:52:40 +01:00
chriseth
d946b6b3a0
Merge pull request #12793 from ethereum/hasDefaultHelper
Add helper to see if a switch has a default case.
2022-03-15 15:20:53 +01:00
chriseth
28593839d9 Add helper to see if a switch has a default case. 2022-03-15 14:29:54 +01:00
chriseth
2858f705c1
Merge pull request #12791 from ethereum/usingForDocAtFileLevel
[DOC] Using for at file level.
2022-03-15 12:36:39 +01:00
chriseth
0bc29f2cb5 Using for at file level. 2022-03-15 12:07:28 +01:00
chriseth
c6ac1625bd
Merge pull request #12773 from ethereum/encodeCallBug
Fix encodeCall bug.
2022-03-15 10:52:13 +01:00
Daniel Kirchner
8cb01a9953 Fix and updated test. 2022-03-15 10:23:09 +01:00
Daniel Kirchner
db27051024 Test for old behaviour. 2022-03-15 10:23:09 +01:00
Daniel Kirchner
353759c1d4
Merge pull request #12680 from devtooligan/fix/underscore-prefix
fix: corrects _ prefixes
2022-03-14 22:58:42 +01:00
chriseth
afdf22f5c7 Create a state struct. 2022-03-14 19:32:33 +01:00
chriseth
eab4ca906c Refactor data flow analyzer state access. 2022-03-14 19:32:33 +01:00
chriseth
e154d43176
Merge pull request #12288 from ethereum/exportUsing
Using global
2022-03-14 18:57:26 +01:00
chriseth
9188519f11 Using for with global binding. 2022-03-14 17:39:14 +01:00
Bhargava Shastry
e19c366532
Merge pull request #12789 from ethereum/yulFuzzerCustomMutation
Permit control flow mutations in global scope of a Yul program.
2022-03-14 16:23:18 +01:00
Richie
beb51068bb
fix: corrects _ prefixes 2022-03-14 08:03:10 -07:00
chriseth
7f360e61fc
Merge pull request #12781 from ethereum/fixImportDirectiveVisits
Fix import directive visits in type checker and view pure checker.
2022-03-14 15:35:37 +01:00
chriseth
3d8fc6b126
Merge pull request #12760 from ethereum/viaIRNonExperimental
Mark viaIR code generation as non-experimental.
2022-03-14 15:30:15 +01:00
Bhargava Shastry
e0d9dec874 Permit control flow mutations in global scope of a Yul program. 2022-03-14 15:04:32 +01:00
chriseth
9ef590cc9f
Merge pull request #12696 from ethereum/unreliableAstJsonTests
Fix unreliable ASTJson tests
2022-03-14 15:02:54 +01:00
Daniel Kirchner
0f1a63c3fa Fix import directive visits in type checker and view pure checker. 2022-03-14 14:53:06 +01:00
Daniel Kirchner
0172f61340 No longer mark Yul as experimental. 2022-03-14 14:48:01 +01:00
Daniel Kirchner
e58c0b561d Mark viaIR code generation as non-experimental. 2022-03-14 14:48:00 +01:00
wechman
8a254b7a7f Use sol file to validate test variants 2022-03-14 14:21:30 +01:00
wechman
4c1224e3bf Generate ASTJSONTest variants only if a file with expected result exists 2022-03-14 14:21:30 +01:00
wechman
371a531381 Add "fail after parsing" scenario to ASTJSON tests 2022-03-14 14:21:30 +01:00
wechman
f431c6f058 Support compilation fail scenarios in ASTJSON tests 2022-03-14 14:21:06 +01:00