Christian Parpart
|
3f08b2269a
|
Adds fmtlib as 3rdparty dependency for easier string composition.
|
2021-10-11 13:35:08 +02:00 |
|
Kamil Śliwak
|
ce4420f857
|
Separate DebugData fields for Solidity and Yul source locations
|
2021-09-22 13:11:39 +02:00 |
|
Daniel Kirchner
|
7abc55d89a
|
Use locationOf helper instead of accessing debugData directly.
|
2021-09-14 10:04:09 +02:00 |
|
chriseth
|
a4c94a1b5b
|
Fixed inline assembly external identifier access.
|
2021-08-11 18:18:29 +02:00 |
|
hrkrshnn
|
95091f6b58
|
Implemented block.basefee in Solidilty and basefee() in Yul.
Also added basefee to Yul grammar.
|
2021-08-09 16:18:08 +02:00 |
|
TerranCivilian
|
c15501eea9
|
Remove unneeded include files
|
2021-06-07 12:53:18 -04:00 |
|
Djordje Mijovic
|
e404b6e7a6
|
Refactoring yul source locations.
|
2021-05-04 16:05:23 +02:00 |
|
chriseth
|
e2d8005737
|
Add verbatim builtin.
|
2021-04-26 19:56:44 +02:00 |
|
Daniel Kirchner
|
5bebbca273
|
Extract VariableReferenceCounter and StackTooDeep error from EVMCodeTransform.
|
2021-04-13 10:41:16 +02:00 |
|
chriseth
|
9c7b1e9c3f
|
Detect assignment to function in inline assembly.
|
2021-02-23 11:47:12 +01:00 |
|
Alex Beregszaszi
|
ded5d721d2
|
Turn unreachable error into assertion
|
2021-02-16 10:59:22 +00:00 |
|
hrkrshnn
|
5a21e33743
|
Improve error reporting for Yul parser errors
This makes debugging Sol2Yul codegen bugs slightly easier.
|
2021-02-09 15:40:25 +01:00 |
|
Alex Beregszaszi
|
0425936c8a
|
Rename AsmScope* to Scope*
|
2020-12-18 11:55:17 +00:00 |
|
chriseth
|
6c7e6a3c9f
|
Merge pull request #10615 from ethereum/develop
Merge develop into breaking.
|
2020-12-15 18:34:01 +01:00 |
|
Bhargava Shastry
|
9b38176c77
|
AsmAnalysis: Fix out of bounds read due to incorrect bounds checking on literal arguments
|
2020-12-15 15:38:59 +01:00 |
|
Alex Beregszaszi
|
2b09fa14e1
|
Disallow using reserved identifiers in Yul
|
2020-12-10 17:10:38 +01:00 |
|
Alex Beregszaszi
|
a22077f736
|
Rename AsmData -> AST
Also attempt to only include ASTForward where appropriate.
|
2020-11-25 17:58:02 +00:00 |
|
Alex Beregszaszi
|
24d8c2ed90
|
Split error codes for EVM opcodes
|
2020-10-28 11:45:46 +00:00 |
|
Alex Beregszaszi
|
3a617f9cf2
|
Validate expected literal kind for yul::Dialect builtins
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
|
2020-08-05 11:37:04 +01:00 |
|
Alex Beregszaszi
|
f6a57af809
|
Add LiteralKind to Dialect.literalArguments
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
|
2020-08-05 11:37:00 +01:00 |
|
Alex Beregszaszi
|
291c00c3de
|
Remove errenous error duplication and move some tests around
|
2020-07-28 10:45:27 +01:00 |
|
chriseth
|
6bb6783d39
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-07-22 15:26:44 +02:00 |
|
Djordje Mijovic
|
6f97e6153c
|
[yul] Adding support for accessing subobjects via .
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2020-07-21 17:56:11 +02:00 |
|
chriseth
|
9be5ed1220
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-07-21 11:35:28 +02:00 |
|
Sachin Grover
|
b7adb2aa42
|
Add SPDX license identifier if not present already in source file
Fixes: #9220
|
2020-07-17 20:24:12 +05:30 |
|
chriseth
|
8eee3ed3a2
|
Merge pull request #9388 from ethereum/develop
Merge develop into breaking.
|
2020-07-13 14:55:21 +02:00 |
|
Alex Beregszaszi
|
20dd66f398
|
Fix missing quote in error message for invalid Yul types
|
2020-07-10 21:06:09 +01:00 |
|
chriseth
|
64b6524bdb
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-07-08 09:37:14 +02:00 |
|
Alex Beregszaszi
|
fc8947d3e8
|
Restrict dots in Yul identifiers
|
2020-07-07 13:13:58 +01:00 |
|
Daniel Kirchner
|
70615a73a4
|
Disallow the same yul variable occurring multiple times on the LHS of an assignment.
|
2020-07-07 10:52:47 +02:00 |
|
chriseth
|
982a269b2b
|
Merge pull request #9325 from ethereum/develop
Merge develop into breaking.
|
2020-07-06 19:11:02 +02:00 |
|
Alex Beregszaszi
|
67ebb206ea
|
Turn Instruction::JUMP* into yulAssert
|
2020-07-06 14:46:36 +01:00 |
|
chriseth
|
ab68406006
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-07-06 15:25:25 +02:00 |
|
Alex Beregszaszi
|
2e6cbd8718
|
Rename warnOnInstructions to validateInstructions
|
2020-07-03 12:35:22 +01:00 |
|
Alex Beregszaszi
|
d211a45aa4
|
Use different error code for various EVM features in Yul
|
2020-07-03 12:35:22 +01:00 |
|
chriseth
|
3e3f9a472f
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-30 18:56:51 +02:00 |
|
Kamil Śliwak
|
a331d4449d
|
Add linkersymbol() builtin to Yul EVM dialect
|
2020-06-24 15:06:52 +02:00 |
|
Kamil Śliwak
|
1b09b4f950
|
Allow Yul literals longer than 32-bytes when used as literal arguments for builtins
|
2020-06-24 15:05:38 +02:00 |
|
chriseth
|
71cb7551f4
|
Merge pull request #9208 from ethereum/develop
Merge develop into breaking.
|
2020-06-16 16:11:41 +02:00 |
|
chriseth
|
5fdbb5c3e3
|
Simplify inline assembly resolver.
|
2020-06-15 18:10:18 +02:00 |
|
chriseth
|
8155ad2187
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-15 17:11:41 +02:00 |
|
Djordje Mijovic
|
33e7b24df0
|
Adding fixes for signedness conversion warnings in libyul
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
|
2020-06-12 10:39:30 +02:00 |
|
chriseth
|
a1165c135d
|
Fix error codes.
|
2020-06-10 18:27:37 +02:00 |
|
chriseth
|
6b3171c38b
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-06-10 11:30:50 +02:00 |
|
Harikrishnan Mulackal
|
d8263d331e
|
Ignore warnings for yulOptimizer tests
|
2020-06-09 13:03:57 +02:00 |
|
Harikrishnan Mulackal
|
73e634924e
|
Warn on YUL switch statement with only default statement
|
2020-06-09 12:32:53 +02:00 |
|
chriseth
|
1f49edd29d
|
Merge pull request #9039 from ethereum/yul-remove-pc-instr
[Yul] remove PC instruction
|
2020-06-03 14:10:35 +02:00 |
|
Christian Parpart
|
9820df58ab
|
Remove Yul instruction PC and adapt tests accordingly.
|
2020-06-03 12:49:23 +02:00 |
|
Christian Parpart
|
c708a1bec2
|
AsmAnalysis: Fixes a superfluous whitespace in an error string
|
2020-06-03 12:23:06 +02:00 |
|
a3d4
|
011f8a462d
|
Remove AsmAnalyzer class-specific error reporting functions
|
2020-05-28 02:02:53 +02:00 |
|