Commit Graph

13443 Commits

Author SHA1 Message Date
chriseth
d515d77bfe Extract utility functions from ABI encoder. 2019-03-05 22:13:55 +01:00
chriseth
f35694f655 Run yul optimizer until it has no effect anymore. 2019-03-05 20:30:13 +01:00
chriseth
4740dc62df
Merge pull request #6193 from ethereum/yul-opt-different-types-6181
YulOpt: Extend StructuralSimplifier to work with all types
2019-03-05 19:11:13 +01:00
chriseth
8db88e9b02
Merge pull request #6196 from ethereum/release
Merge release back into develop
2019-03-05 18:56:56 +01:00
chriseth
17adccaa1c
Merge pull request #6192 from ethereum/prepare060
Some missed entries and set version to 0.6.0.
2019-03-05 18:54:26 +01:00
Mathias Baumann
f6e09d6368 YulOpt: Extend StructuralSimplifier to work with all types 2019-03-05 18:39:27 +01:00
Mathias Baumann
a52b50d770 libyul: Change assertThrow() to yulAssert() 2019-03-05 18:39:27 +01:00
Mathias Baumann
921d52bfcd Move Literal to u256 conversions to extra functions
That way we can reuse them at different places
2019-03-05 18:39:27 +01:00
chriseth
fb4a58c475
Merge pull request #6191 from ethereum/ossfuzzreducetestinputsize
ossfuzz: Reduce test input size to less than equal to 600 bytes.
2019-03-05 18:32:53 +01:00
chriseth
acfbc62f32
Merge pull request #6194 from ethereum/release-checklist-0.5.5
Update release checklist
2019-03-05 18:14:28 +01:00
chriseth
8d401ba936 Update pragmas. 2019-03-05 18:10:09 +01:00
Erik Kundt
bc7be6485e Updates release checklist. 2019-03-05 17:45:05 +01:00
chriseth
77c3352744 Some missed entries and set version to 0.6.0. 2019-03-05 17:08:16 +01:00
Bhargava Shastry
a370551ea2 ossfuzz: Reduce test input size to less than equal to 600 bytes. 2019-03-05 16:55:55 +01:00
chriseth
47a71e8f1c
Merge pull request #6188 from ethereum/develop
Release 0.5.5
2019-03-05 16:22:00 +01:00
chriseth
a27ef3489c Allow encoding and decoding functions with empty type list. 2019-03-05 15:55:50 +01:00
chriseth
40171c216d
Merge pull request #6185 from ethereum/changelog-release-0.5.5
Updates Changelog and buglist for 0.5.5
2019-03-05 15:32:27 +01:00
chriseth
d7e36bb033
Merge pull request #6168 from ethereum/better-errors-is-implictily-convertable
Prepare code to output errors returned by isImplicitlyConvertibleTo()
2019-03-05 15:28:29 +01:00
Erik Kundt
d778471ef0 Updates Changelog for 0.5.5 release. 2019-03-05 15:11:37 +01:00
chriseth
d70da689ef Run external tests with and without optimizer. 2019-03-05 14:53:36 +01:00
chriseth
5ddf9e269f
Merge pull request #5942 from bshastry/sol-protofuzzer
LibProtobuf Mutator (LPM) based fuzzer for yul subset
2019-03-05 13:01:03 +01:00
Bhargava Shastry
d9bcbe6ad5 LibProtobuf Mutator (LPM) based fuzzer for yul subset 2019-03-05 12:32:55 +01:00
chriseth
c283f6d842
Merge pull request #6182 from ethereum/travis-stdin-password
Pass docker password in Travis via stdin
2019-03-05 11:38:13 +01:00
chriseth
d0ab5454f8
Merge pull request #6171 from ethereum/ignorePrefixWhileInlining
Do not prepend function name to all variables when inlining.
2019-03-05 11:36:53 +01:00
Erik Kundt
b907e550b2 Passes the docker password in Travis via stdin. 2019-03-05 11:29:46 +01:00
Mathias Baumann
de98e38b78 Prepare code to output errors returned by isImplicitlyConvertibleTo() 2019-03-05 10:44:36 +01:00
Mathias Baumann
ca9cced4b2 Add ErrorReporter::typeErrorConcatenateDescriptions 2019-03-05 10:44:36 +01:00
chriseth
eb5bde95b3
Merge pull request #6175 from ethereum/asm-parser-cleanup
Use currentToken()/advance() helpers from ParserBase consistently in AsmParser
2019-03-04 23:29:05 +01:00
Alex Beregszaszi
c64d42e6f5 Use currentToken()/advance() helpers from ParserBase consistently in AsmParser 2019-03-04 22:56:36 +01:00
chriseth
2bd71583e6
Merge pull request #6020 from ethereum/yul_interpreter_fuzz
Patch fuzzing test harness on top of the yul interpreter
2019-03-04 22:27:31 +01:00
chriseth
bbda89c428 Create a differential fuzzer using tracing facility from the yul interpreter. 2019-03-04 20:44:17 +01:00
chriseth
6c9961e040
Merge pull request #5941 from ethereum/metadata-compilerstack
Metadata should not require compilation
2019-03-04 18:53:07 +01:00
chriseth
2d48377f4b
Merge pull request #6157 from ethereum/allocate-memory
Add allocateMemory helper with value known at compile time
2019-03-04 18:35:04 +01:00
chriseth
3f784d6e00 Do not prepend function name to all variables when inlining. 2019-03-04 18:07:00 +01:00
chriseth
38831e885d
Merge pull request #5855 from ethereum/cp
[Yul] Variable Name Canonicalization
2019-03-04 17:58:45 +01:00
Alex Beregszaszi
a96cc6e0e8 Add allocateMemory helper with value known at compile time 2019-03-04 17:46:42 +01:00
chriseth
19761a08fa Update bytecode output to cope with metadata-only compilability. 2019-03-04 17:38:45 +01:00
chriseth
9c80f0fc76
Merge pull request #6155 from ethereum/defaultToPetersburg
Set default EVM version to petersburg
2019-03-04 17:36:42 +01:00
Christian Parpart
609855546e Yul: Adds optimizer pass to make variable names suffix-canonical. 2019-03-04 17:26:56 +01:00
chriseth
c3e4c42bbd
Merge pull request #6137 from ethereum/update-release-checklist
Update release checklist
2019-03-04 16:36:09 +01:00
Erik Kundt
e0648c92d5 Updates release checklist. 2019-03-04 16:35:14 +01:00
chriseth
62b2599cb7 Update tests. 2019-03-04 16:31:08 +01:00
chriseth
34082a2368
Merge pull request #6159 from ethereum/more-optims
More optimiser rules for LT/GT/AND/BYTE and address cleanups
2019-03-04 16:24:38 +01:00
chriseth
fee4eb05bb
Merge pull request #6166 from ethereum/library-codegen-if
Use "if" instead of "switch" in codegen for the deployment time address of a library
2019-03-04 16:24:07 +01:00
Alex Beregszaszi
fcbb8ec51c Allow returning metadata in StandardCompiler without compilation 2019-03-04 16:19:55 +01:00
Alex Beregszaszi
26ca144647 Cache metadata and allow after analysis in CompilerStack 2019-03-04 16:19:54 +01:00
Alex Beregszaszi
5a47f3e005
Merge pull request #6164 from ethereum/asmparser-assert
Change unreachable parser error to assertion in AsmParser
2019-03-04 14:44:03 +00:00
Alex Beregszaszi
bd51589f1a Use "if" instead of "switch" in codegen for the deployment time address of a library 2019-03-04 15:16:58 +01:00
Alex Beregszaszi
9fc7706537 Change unreachable parser error to assertion in AsmParser 2019-03-04 15:08:46 +01:00
chriseth
6b12726f51
Merge pull request #6158 from ethereum/multiprecision-shift-bug
Document the boost multiprecision shift bug in RuleList
2019-03-04 14:59:52 +01:00