Sreekesh V
9188e658d8
Revert "Allow basefee as Yul identifier for EVMVersion < london"
...
This reverts commit 7f1a2be0fe .
Added changes to changelog to include Make basfee as a reserved identifier
added changes under the breaking changes rst file
Update Changelog.md
Co-authored-by: Harikrishnan Mulackal <webmail.hari@gmail.com>
Update 090-breaking-changes.rst
moved the changes under "New restrictions" section
Update Changelog.md
avoided removing line no 6
Update docs/090-breaking-changes.rst
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2022-03-02 10:48:33 +01:00
chriseth
0801c48e11
Merge remote-tracking branch 'origin/develop' into breaking
2022-02-17 09:42:15 +01:00
chriseth
814e233b67
Merge pull request #12604 from ethereum/develop
...
Merge develop into breaking
2022-01-31 17:59:03 +01:00
Daniel Kirchner
de28f31716
Improved stack shuffling in corner cases.
2022-01-21 15:41:30 +01:00
hrkrshnn
85d1a57e65
Added more tests. Updated chromosome. Remove unused headers.
2022-01-04 13:27:39 +05:30
chriseth
772e100813
Equal store eliminator.
2022-01-03 15:52:05 +01:00
chriseth
923d1cf2d2
Merge pull request #12423 from ethereum/develop
...
Merge develop into breaking.
2021-12-20 11:40:40 +01:00
chriseth
9a0821f2c3
Fix warning about reference.
2021-12-16 00:12:19 +01:00
chriseth
0bbf58ec5e
Merge pull request #12376 from ethereum/develop
...
Merge `develop` into `breaking`
2021-12-13 12:59:33 +01:00
chriseth
0e7a065a78
Enhance documentation.
2021-11-23 14:58:04 +01:00
chriseth
bd321b9f1f
Rename RedundantAssignEliminator to UnusedAssignEliminator.
2021-11-23 10:38:36 +01:00
Marenz
49b4e77d6b
Prevent crash when translating yul->ewasm with @use-src annotations
2021-11-11 13:43:57 +01:00
chriseth
88cc42230f
Merge remote-tracking branch 'origin/develop' into breaking
2021-11-09 18:26:34 +01:00
Daniel Kirchner
9fb77b139c
Keep canonical form of Yul code at all times.
2021-11-09 13:29:10 +01:00
Daniel Kirchner
b4f98b41bc
Minor fix to forEach on Yul AST nodes.
2021-11-05 13:24:30 +01:00
chriseth
776ae466bc
Control flow side effects on non-disambiguated source.
2021-11-04 16:32:11 +01:00
chriseth
25c41546ee
Function reference resolver.
2021-11-04 16:31:18 +01:00
chriseth
dd8f12760b
Introduce forEach for yul ast nodes.
2021-11-04 16:14:43 +01:00
chriseth
929ed094ce
Register functions earlier.
2021-11-04 13:48:11 +01:00
chriseth
99aa18c4f3
Refactor: Only return output.
2021-11-04 13:42:50 +01:00
Daniel Kirchner
95c973d6c2
Refactoring of optimiser suite and yulopti.
2021-11-03 19:33:01 +01:00
Daniel Kirchner
28ae316556
Named function labels.
2021-11-03 12:42:07 +01:00
Daniel Kirchner
1a0605c594
Update tests.
2021-11-03 12:39:55 +01:00
Daniel Kirchner
4229369180
Compatibility with StackCompressor and StackLimitEvader.
2021-11-03 12:39:55 +01:00
Daniel Kirchner
b2c9b69de2
Enable for IR code generation with stack optimization > homestead.
2021-11-03 12:39:55 +01:00
chriseth
d6c461ed61
Use side effects of user-defined functions in other optimizer steps.
2021-11-02 11:59:01 +01:00
chriseth
8c6e5e501b
Merge remote-tracking branch 'origin/develop' into breaking
2021-10-27 18:09:13 +02:00
chriseth
7ebf71f315
Merge pull request #12203 from ethereum/fixuseafterfreeside
...
Fix use-after-free bug.
2021-10-27 16:43:44 +02:00
chriseth
dce13fbb6a
Fix use-after-free bug.
2021-10-27 15:49:41 +02:00
chriseth
9f48b7419c
Do not use named function labels if function names are not unique.
2021-10-19 18:33:00 +02:00
chriseth
e239f62b64
Merge remote-tracking branch 'origin/develop' into HEAD
2021-10-19 18:24:42 +02:00
chriseth
9417d6775f
Control flow side-effects for user-defined functions.
2021-10-14 17:46:07 +02:00
Kamil Śliwak
bcfefc79d9
Pass DebugInfoSelection down to the code handling assembly printing
2021-10-11 20:34:48 +02:00
Kamil Śliwak
f7c4ed849d
Handle DebugInfoSelection in the code printing Yul and EVM assembly
2021-10-11 20:34:48 +02:00
Kamil Śliwak
2cd1c644b6
Remove unused includes and sort existing includes in a few places
2021-10-11 20:34:48 +02:00
Christian Parpart
3f08b2269a
Adds fmtlib as 3rdparty dependency for easier string composition.
2021-10-11 13:35:08 +02:00
Kamil Śliwak
620ec47efb
OptimizerSuite: Rewrite runSequence() with support for nested brackets
2021-10-06 19:15:02 +02:00
Kamil Śliwak
2fb8f1be5b
OptimiserSuite: Use string_view instead of string for step sequences
2021-10-06 18:48:41 +02:00
Sreekesh V
79d9d5bf0d
Change optimizer sequence validations to allow nested brackets
2021-10-06 18:46:53 +02:00
chriseth
8bcbe946c6
Merge remote-tracking branch 'origin/develop' into breaking
2021-10-06 12:00:17 +02:00
Kamil Śliwak
0745842d46
Use BOOST_PP_OVERLOAD() to allow invoking the assertion macros without a message
2021-10-04 12:05:00 +02:00
Kamil Śliwak
4fe6aa1328
Add default messages to assertion macros
2021-10-04 12:05:00 +02:00
chriseth
1531863835
Split Common.h into Numeric.h.
2021-09-23 15:27:29 +02:00
chriseth
c8e6ef9657
Merge pull request #12004 from ethereum/disambiguateBytesRequired
...
Disambiguate bytesRequired
2021-09-23 15:25:44 +02:00
Kamil Śliwak
fc7e8c56dc
Fill out originLocation with nativeLocation when importing Yul AST
2021-09-22 13:17:18 +02:00
Kamil Śliwak
d23754eafd
AsmParser: Don't use locationOverride as current location when location from comments is selected
2021-09-22 13:11:39 +02:00
Kamil Śliwak
ce4420f857
Separate DebugData fields for Solidity and Yul source locations
2021-09-22 13:11:39 +02:00
Kamil Śliwak
9c1d40debf
AsmParser: Replace m_debugDataOverride with separate variables for location and AST ID
2021-09-22 13:11:39 +02:00
chriseth
50ce1f5ddd
Disambiguate bytesRequired
2021-09-22 11:22:07 +02:00
chriseth
e6f0fe8ae3
Use source id in yul to evm code transform.
2021-09-22 11:11:51 +02:00