Commit Graph

13177 Commits

Author SHA1 Message Date
Alex Beregszaszi
0432401e20 Emit warning when using the Yul optimiser 2019-03-25 18:38:06 +01:00
Mathias L. Baumann
dce27bb452
Merge pull request #6370 from ethereum/more-info-after-ci-fail
Provide more info when CI fails
2019-03-25 16:08:16 +01:00
chriseth
cb633c3a0c
Merge pull request #6364 from ethereum/docs-universal-mutator
[DOCS] Add universal mutator to resources
2019-03-25 15:16:27 +01:00
Mathias Baumann
e478115d26 Provide more info when CI fails 2019-03-25 15:16:03 +01:00
chriseth
ffe3a60301
Merge pull request #6367 from ethereum/yul-standard
Allow warnings in AssemblyStack
2019-03-25 14:59:29 +01:00
Alex Beregszaszi
642d4b9217 Abort if parseAndAnalyze failed but no errors are reported in compileYul 2019-03-25 13:19:33 +00:00
Alex Beregszaszi
76c3c54c12
Merge pull request #6360 from ethereum/split-imports-test
Split imports tests to avoid resetting CompilerStack
2019-03-25 13:15:38 +00:00
chriseth
58610ab3b8
Merge pull request #6348 from ethereum/varNameGenerator
ABIFunctions: Split out a function for generating a comma separated list of variable names.
2019-03-25 14:07:35 +01:00
Chris Ward
b7af8baed5 Add universal mutator to resources 2019-03-25 14:04:01 +01:00
chriseth
0eb6497159
Merge pull request #6361 from ethereum/detectSameCaseDifferentConstants
Detect duplicate cases based on integer value of case label.
2019-03-25 14:00:59 +01:00
chriseth
caddce6ef0 Detect duplicate cases based on integer value of case label. 2019-03-25 12:38:22 +01:00
Alex Beregszaszi
d9303d4cfb Split imports tests to avoid resetting CompilerStack 2019-03-25 11:33:21 +00:00
chriseth
b17daee20e
Merge pull request #6358 from ethereum/fixLLLTests
Fix LLL tests.
2019-03-25 11:49:53 +01:00
chriseth
e3fe365488
Merge pull request #6312 from ethereum/wip/docs-populus-storage-costs
[DOCS] Add details to storage costs
2019-03-25 11:49:07 +01:00
Chris Ward
7f8957c9ea Change to US spelling 2019-03-25 10:59:49 +01:00
Daniel Kirchner
66d6711364 ABIFunctions: Split out a function for generating a comma separated list of variable names. 2019-03-25 10:58:18 +01:00
chriseth
31fa51b1f8 Fix LLL tests. 2019-03-25 10:53:49 +01:00
chriseth
cc4d30a7ac
Merge pull request #6355 from ethereum/test-consistency
Exclude metadata in compiler test
2019-03-25 10:22:51 +01:00
chriseth
99ed3a6452
Merge pull request #6356 from ConstantinKloecker/patch-1
[DOCS] Fixed code block display
2019-03-25 10:21:44 +01:00
Constantin Kloecker
5936f52aa5
fixed code block display 2019-03-23 11:38:59 +01:00
Alex Beregszaszi
532d43e0c8 Exclude metadata in compiler test
In SolidityCompiler/does_not_include_creation_time_only_internal_functions.
2019-03-22 17:35:15 +00:00
Alex Beregszaszi
0af47da1b6
Merge pull request #2156 from ethereum/jsonio-julia
Support compiling Yul within StandardCompiler
2019-03-22 03:30:45 +00:00
Alex Beregszaszi
3bc2c35cc4 Support compiling Yul within StandardCompiler 2019-03-22 01:35:16 +00:00
Alex Beregszaszi
ed1ad2fc14
Merge pull request #6317 from ethereum/byte_optimization_bugfix
Fixes bug in byte optimization rule and adds tests.
2019-03-21 21:49:34 +00:00
Alex Beregszaszi
7d94d3af20
Merge pull request #6309 from ethereum/proto-add-str-hex-lit
yul proto: Add support for generating string and hex literals.
2019-03-21 21:47:58 +00:00
Alex Beregszaszi
cbbc2df506
Merge pull request #6351 from ethereum/smt_shortcircuit_test
[SMTChecker] Add buggy short circuit test
2019-03-21 21:24:51 +00:00
Alex Beregszaszi
31b85556d0
Merge pull request #6347 from ethereum/fixMacOsYulCommandline
Fix MacOS commandline tests.
2019-03-21 21:12:55 +00:00
Leonardo Alt
2ae778bf0a [SMTChecker] Add buggy short circuit test 2019-03-21 18:47:14 +01:00
chriseth
2de5554e4a Fix MacOS commandline tests. 2019-03-21 18:19:05 +01:00
chriseth
8c388592be
Merge pull request #6346 from ethereum/smt_overflow_callstack
[SMTChecker] Add callstack model to overflow checks
2019-03-21 17:02:12 +01:00
Leonardo Alt
a207d7f44c [SMTChecker] Add callstack model to overflow checks 2019-03-21 16:25:33 +01:00
chriseth
939a178193
Merge pull request #6343 from ethereum/smt_fix_deref_null
[SMTChecker] Fix nullptr deref
2019-03-21 16:16:03 +01:00
Leonardo Alt
de89733bd6 [SMTChecker] Fix nullptr deref 2019-03-21 15:46:54 +01:00
Bhargava Shastry
f7b5a27581 Fixes bug in byte optimization rule and adds tests. 2019-03-21 14:29:06 +01:00
Bhargava Shastry
d1d3dd8571 yul proto: Add support for generating string and hex literals. 2019-03-21 12:25:52 +01:00
chriseth
867e5bc64d
Merge pull request #6334 from ethereum/renameDefaultOptimizerSetting
Rename default optimizer setting
2019-03-21 12:22:52 +01:00
chriseth
d381e26fc8 Rename "enabled" optimizer setting stage to "standard". 2019-03-21 11:04:40 +01:00
chriseth
51ae865b96
Merge pull request #6222 from ethereum/internal-error-maybe
Disallow internal function types as parameters for public/external library function
2019-03-21 09:18:23 +01:00
chriseth
ebb8c1758e
Merge pull request #6339 from ethereum/lll-test-fix
Fix LLL tests using the opimiser
2019-03-21 08:54:07 +01:00
Mathias Baumann
4c2b1c1f29 ArrayType::interfaceType(): Rename local variable to make more sense 2019-03-21 07:25:59 +01:00
Mathias Baumann
7d809df91a Add back StructType::recursive() 2019-03-21 07:25:59 +01:00
Mathias Baumann
8e899a0d32 Disallow internal function types as parameters for public/external library function 2019-03-21 07:25:57 +01:00
Mathias Baumann
0fbea8a1a0 Change return type for interfaceType() to ResultType 2019-03-21 07:25:28 +01:00
Alex Beregszaszi
56f2912e61
Merge pull request #6333 from ethereum/proto-add-for-switch-stmts
Proto support for "for" and "switch" statements
2019-03-20 19:24:45 +00:00
Alex Beregszaszi
7ec3eaa40d Fix LLL tests using the opimiser 2019-03-20 19:21:24 +00:00
Bhargava Shastry
22f5a82edc yul proto: Add support for generating for and switch statements. 2019-03-20 18:50:27 +00:00
Alex Beregszaszi
e3c1dea97c
Merge pull request #6336 from ethereum/compilerstack-addsource
Removed unused isLibrary from flag addSource in CompilerStack
2019-03-20 18:12:16 +00:00
Alex Beregszaszi
ea1944bb2d Removed unused isLibrary from flag addSource in CompilerStack 2019-03-20 17:41:51 +00:00
chriseth
064f73be0c
Merge pull request #6249 from ethereum/optimizerTests
Change optimizer tests so that they also always test the peephole optimizer.
2019-03-20 18:38:06 +01:00
chriseth
9aab2329ed
Merge pull request #6244 from ethereum/smt_modifiers
[SMTChecker] Support modifiers
2019-03-20 18:04:28 +01:00