Commit Graph
13165 Commits
Author SHA1 Message Date
chriseth caddce6ef0 Detect duplicate cases based on integer value of case label. 2019-03-25 12:38:22 +01: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
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
chriseth 6ac0ee1751 Merge pull request #5946 from bshastry/yul_opt_ossfuzz
Adds an oss-fuzz harness to fuzz AssemblyStack API calls for parsing …
2019-03-20 16:26:56 +01:00
chriseth d788a88873 Use "none" and "full" optimizer settings in the optimizer tests. 2019-03-20 16:11:37 +01:00
chriseth 2fd6661b09 Add tests for some optimizer rules. 2019-03-20 16:10:59 +01:00
chriseth 54e00b930d Merge pull request #6331 from ethereum/pragma-parser-location-reporting-fix
Fixes wrong source location when reporting pragma solidity version conflicts
2019-03-20 16:07:56 +01:00
chriseth 8468dca0bb Merge pull request #6323 from ethereum/bug-637
Fix function calls with named arguments for overloaded functions
2019-03-20 16:07:09 +01:00
Bhargava Shastry 6c1d0b62b5 Adds oss-fuzz harnesses to fuzz AssemblyStack API calls for parsing/optimizing StrictAssembly and generating EVM bytecode. 2019-03-20 16:06:45 +01:00
chriseth e3c3b9e542 Merge pull request #6276 from ethereum/properlyDetectRemovableVariables
Properly detect removable variables
2019-03-20 16:06:19 +01:00
chriseth 57f99247c8 Update tests. 2019-03-20 15:07:05 +01:00
chriseth 8514c0bc60 Provide max iterations for stack compressor as parameter. 2019-03-20 15:07:05 +01:00
chriseth 9ac117e5b9 Changelog entry. 2019-03-20 15:07:05 +01:00
chriseth aa9a2935ac Properly determine whether a variable can be eliminated or not. 2019-03-20 15:07:05 +01:00
chriseth 38cbf8d230 Pass "optimize stack allocation" flag down to the stack compressor. 2019-03-20 15:03:27 +01:00