Commit Graph

14087 Commits

Author SHA1 Message Date
chriseth
8019b26a78
Merge pull request #6949 from ethereum/docs-ass-review
[DOCS] Review conventions section in assembly doc
2019-06-20 10:48:25 +02:00
chriseth
ecab46c707 Finish word size transform. 2019-06-20 10:42:56 +02:00
chriseth
096e3fcd37
Merge pull request #6973 from ethereum/ci_proofs
Add CI job for optimization proofs
2019-06-20 10:15:57 +02:00
Leonardo Alt
51ba7f5f17 Add CI job for optimization proofs 2019-06-19 22:29:23 +02:00
chriseth
fc64de6d90
Merge pull request #6923 from ethereum/sol-yul-storage-array
[Sol->Yul] Implement .length for storage arrays
2019-06-19 19:13:06 +02:00
chriseth
d4a6844e64
Merge pull request #6970 from ethereum/ewasmBoilerplate
Some eWasm boilerplate code.
2019-06-19 19:12:48 +02:00
chriseth
d9d1c4a312
Merge pull request #6967 from ethereum/nameDisplacer
[Yul] Name displacer.
2019-06-19 18:56:54 +02:00
chriseth
fc6f47e453 Restrict whiskers parameters to regular characters. 2019-06-19 18:46:16 +02:00
chriseth
b704abdd75 Some eWasm boilerplate code. 2019-06-19 18:21:58 +02:00
Mathias Baumann
b03cb2bce6 YulUtilFuncs: Add missing/adjust existing documentation 2019-06-19 18:09:23 +02:00
Mathias Baumann
910cb8d329 [Sol->Yul] Implement .length for storage arrays 2019-06-19 18:09:23 +02:00
Mathias Baumann
c5b50039d2 [Sol->Yul] Report error after Ir code
this way less scrolling is required
2019-06-19 18:09:23 +02:00
chriseth
8edf9e4baf
Merge pull request #6666 from vedant1811/issue-5405
Group function definitions
2019-06-19 18:03:40 +02:00
Chris Chinchilla
b72977f086 Review conventions section in assembly doc
Changes from review

Changes from review
2019-06-19 14:56:45 +02:00
chriseth
d7b366ff46 Name displacer. 2019-06-19 14:55:38 +02:00
chriseth
9a707ea6e9
Merge pull request #6965 from sifmelcara/6881-preparation
Clean up and refactor array element access related code
2019-06-19 14:42:27 +02:00
mingchuan
ae273ff3bd
Move code that access calldata array element to separate function 2019-06-19 17:26:35 +08:00
mingchuan
492f945973
Coding style fix 2019-06-19 17:26:34 +08:00
chriseth
cfbbb194d1
Merge pull request #6964 from ethereum/docs-fix-warn
[DOCS] Fix miss-placed warnings
2019-06-19 11:10:27 +02:00
Chris Chinchilla
622adf55c2 Fix missplaced warnings 2019-06-19 11:03:10 +02:00
chriseth
5675b742ec
Merge pull request #6960 from ethereum/fixAsmParser
Asm Parser: Properly consider tokens when checking for clashes with builtins.
2019-06-19 10:57:46 +02:00
chriseth
53f26d9719
Merge pull request #6963 from ethereum/runOptimizerOnAllDialects
[Yul] Run optimizer on all dialects.
2019-06-19 10:51:24 +02:00
chriseth
cc5045a56e [Yul] Run optimizer on all dialects. 2019-06-19 10:01:16 +02:00
Vedant Agarwala
5d6cbd97df [Yul] Directly jump over a series of function definitions
Implement a AbstractAssembly::setStackHeight function
Update the tests
Update Changelog
2019-06-19 12:40:11 +08:00
mingchuan
6a5fabd004
Add ABIEncoderV2 storage array encoding bug to buglist 2019-06-19 10:47:44 +08:00
mingchuan
13c1409669
Add test case that abi.encode nested storage arrays 2019-06-19 10:46:47 +08:00
mingchuan
bfe074b2b1
Fix storage array abi encoding
Fix incorrect abi encoding of storage array of data type that occupy multiple storage slots
2019-06-19 10:46:05 +08:00
chriseth
56db792ad9
Merge pull request #6876 from rocky/recoveringParser1-StandardCompiler
Add parser errorRecovery (including StandardCompiler)
2019-06-18 22:40:35 +02:00
rocky
1a7e09ab7a Add errorRecovery boolean to StandardCompiler 2019-06-18 15:54:05 -04:00
chriseth
211cd2a0b3 Fix Asm parser. 2019-06-18 18:54:34 +02:00
chriseth
ee89a0353e
Merge pull request #6959 from ethereum/fixUnusedPrunerForWasm
Fix unused pruner.
2019-06-18 18:06:26 +02:00
chriseth
2c61bdd207
Merge pull request #6957 from ethereum/useWhat
Use "what" in exception reports.
2019-06-18 17:53:28 +02:00
chriseth
aed979604c Fix unused pruner. 2019-06-18 17:40:18 +02:00
chriseth
05a67c486e Use "what" in exception reports. 2019-06-18 17:34:10 +02:00
chriseth
5fd9264dcd
Merge pull request #6851 from ethereum/makeOptimizerWorkForWasm
Make Yul optimizer not fail for wasm.
2019-06-18 11:37:51 +02:00
Chris Chinchilla
b66950711e
Merge pull request #6954 from ethereum/docs-public-clar
[DOCS] Clarify that public applies to state variables
2019-06-18 07:55:45 +01:00
chriseth
6cb6fe35ef Make Yul optimizer not fail for wasm. 2019-06-17 18:42:47 +02:00
chriseth
8260ae1397
Merge pull request #6955 from ethereum/docs-enum-int
[DOCS] Clarify that interfaces only support enum since 0.5.0
2019-06-17 18:32:53 +02:00
chriseth
4a4c146fdf
Merge pull request #6951 from ethereum/chriseth-patch-1
[DOC] Fix signextend example.
2019-06-17 18:31:29 +02:00
chriseth
58753e5883
Merge pull request #6846 from ethereum/docs-require-vs-revert
[DOCS] Require, revert, assert clarification
2019-06-17 18:16:02 +02:00
Chris Chinchilla
17e82ee176 Clarify that interfaces only support enum since 0.5.0 2019-06-17 17:14:53 +01:00
Chris Ward
7e4896740d Clarify that public applies to state variables 2019-06-17 16:55:31 +01:00
Chris Ward
df31461c5b Start to clarify revert vs require usage
Start rewrite of require vs revert clarification

Small clarification
2019-06-17 16:47:13 +01:00
chriseth
d7211c17e9
Merge pull request #6953 from ethereum/fix-comments-in-pr
[Sol->Yul] Style fixes
2019-06-17 17:29:05 +02:00
chriseth
42e6df8088
Merge pull request #6948 from ethereum/johnson-recovery-with-win-fix
Revive Johnson-style error recovery
2019-06-17 17:25:22 +02:00
Mathias Baumann
8ca27c2bb0 [Sol->Yul] Style fixes
addresses the points @chriseth mentioned in #6909
2019-06-17 15:26:40 +02:00
Christian Parpart
0b65cf8af5 Fixes stack-too-deep errors (soltest) on Windows by reducing recursion depth accordingly. (Caused by introducing try/catch blocks increased stack frame size) 2019-06-17 14:47:07 +02:00
rocky
ca3afea1d7 Add Steve Johnson-style parser recovery rules:
SourceUnit = Error $
    Block = '{' Error '}'
    ContractDefinition = '{' Error '}'
    Statement = Error ';'

Co-Authored-By: chriseth <chris@ethereum.org>
2019-06-17 14:47:07 +02:00
chriseth
633510eb04
Merge pull request #6935 from ethereum/subMaxValueXNotXRule
Add optimization rule SUB(~0, X) -> NOT(X).
2019-06-17 14:42:49 +02:00
chriseth
e186dc061d
Merge pull request #6952 from ethereum/remove-redundant-optimizer-rule
optimizer: Remove redundant rule from the optimizer rule list
2019-06-17 14:37:31 +02:00