Commit Graph

10171 Commits

Author SHA1 Message Date
chriseth
ca9fa053b7 Optimize number of moves. 2018-05-02 17:39:42 +02:00
chriseth
12b47a6e0b Assert function hoister and grouper has been used. 2018-05-02 17:39:42 +02:00
chriseth
d3c11a49e5 Move NameDispenser into its own file. 2018-05-02 17:39:42 +02:00
chriseth
78945e81e4 Test the removal of the result variable. 2018-05-02 17:39:42 +02:00
chriseth
bf27e86984 Extend pop(0)-remover to any movable expression. 2018-05-02 17:39:42 +02:00
chriseth
c7245ba362 Replace pop(0)-statements by empty blocks. 2018-05-02 17:39:42 +02:00
chriseth
4370bf5c40 Inline functions returning nothing. 2018-05-02 17:39:42 +02:00
chriseth
5cd84a630c Tests. 2018-05-02 17:39:42 +02:00
chriseth
0a366fd453 Full inliner. 2018-05-02 17:39:42 +02:00
chriseth
79c415b104 Use hoisting. 2018-05-02 17:36:10 +02:00
chriseth
e681f4ee79
Merge pull request #4028 from ethereum/asm-tags-32bit
Restrict assembly tags to 32-bit
2018-05-02 17:34:13 +02:00
Jonny Burger
1367fedfd0 Improve documentation and CLI help for --run parameter 2018-05-02 17:10:30 +02:00
chriseth
a856135bbf
Merge pull request #3797 from ethereum/shift-constantinople
Use native shift instructions on Constantinople
2018-05-02 16:50:15 +02:00
chriseth
a1a7653c70 State that years has been deprecated. 2018-05-02 16:24:19 +02:00
chriseth
de2c8fd684
Merge pull request #4000 from ethereum/circleMacOS
macOS on CircleCI
2018-05-02 16:10:19 +02:00
chriseth
64fc3d5d00
Merge pull request #4042 from ethereum/revert-4003-bool_vars_comparison
Revert "BREAKING: Bool variables should not allow arithmetic comparison"
2018-05-02 15:57:16 +02:00
chriseth
8debded743
Revert "BREAKING: Bool variables should not allow arithmetic comparison" 2018-05-02 15:56:59 +02:00
chriseth
42289b642f
Merge pull request #4003 from ethereum/bool_vars_comparison
BREAKING: Bool variables should not allow arithmetic comparison
2018-05-02 15:56:06 +02:00
chriseth
451e8edb1a
Merge pull request #3992 from davesque/improve-abi-spec
A couple of ABI spec improvements
2018-05-02 15:50:10 +02:00
chriseth
06adcb5e81 Rename and compress. 2018-05-02 15:42:34 +02:00
chriseth
dc18cde66f
Merge pull request #4040 from aarlt/virtual-destructors
Add virtual destructors on base classes.
2018-05-02 15:27:16 +02:00
Alexander Arlt
f94b793472 Add virtual destructors on base classes. 2018-05-02 13:29:16 +02:00
Erik Kundt
743a714f21 Adds CircleCI config for macOS.
Does not run ipc and smt tests.
2018-05-01 03:23:07 +02:00
Alex Beregszaszi
971941b3f6 Update source location test expectations 2018-04-30 21:23:08 +01:00
Alex Beregszaszi
059e232e69 Support shifts in gas estimator 2018-04-30 21:22:59 +01:00
chriseth
2968639406 Removed signed shift right from the utilities. 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
52c9441879 Do not use SAR instead of SDIV in shifts because it rounds differently 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
c3608eaf90 Use native shift instructions in ABIFunctions on Constantinople 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
22bfd3da41 Use native shift instructions on Constantinople 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
5cce2e552b
Merge pull request #4026 from ethereum/prepareyul
Remove desugaring
2018-04-30 18:51:23 +01:00
Alex Beregszaszi
d569ad91e4 Restrict assembly tags to 32-bit 2018-04-30 18:47:57 +01:00
chriseth
e27669811d Remove desugaring 2018-04-30 19:18:06 +02:00
chriseth
d26b6b64c0
Merge pull request #3996 from ethereum/refactorParser
Refactor parser.
2018-04-30 19:15:11 +02:00
chriseth
15024154ab
Merge pull request #4018 from ethereum/disable-bytes0
Disable FixedBytesType(0) aka bytes0
2018-04-30 18:19:07 +02:00
Alex Beregszaszi
05248f5a1b
Merge pull request #3999 from ethereum/subasm
Fix sub assembly tag handling on certain boost / compiler combinations
2018-04-30 17:13:58 +01:00
Alex Beregszaszi
52cc416a3f
Merge pull request #4001 from Magicking/fix_docs_date
docs: Update configuration from 2017 to 2018
2018-04-30 16:17:51 +01:00
chriseth
eb9dd24e50
Merge pull request #3975 from sledrho/develop
Updated StateVariable Grammar rule #3974
2018-04-30 17:12:35 +02:00
chriseth
ede6ee8776
Merge pull request #4023 from ethereum/exampledocs
Update some examples to remove warnings.
2018-04-30 16:58:24 +02:00
chriseth
565b4a0f11
Merge pull request #4022 from ethereum/docslin
Update documentation about C3 linearization.
2018-04-30 16:58:11 +02:00
Alex Beregszaszi
3ac3018e1d Ensure that subId and tag handling is correct on all compilers in AssemblyItem 2018-04-30 15:57:17 +01:00
chriseth
65d8e5446c Update some examples to remove warnings. 2018-04-30 16:21:55 +02:00
chriseth
8782508e0b Update documentation about C3 linearization. 2018-04-30 16:15:41 +02:00
chriseth
9e61b25dc4
Merge pull request #3958 from meowingtwurtle/fixedPointTypes
Types class changes for fixed points
2018-04-30 15:56:55 +02:00
Alex Beregszaszi
548bf2ff28 Remove unused function smallestTypeForLiteral 2018-04-30 14:35:26 +01:00
Alex Beregszaszi
c44294d02d Add syntax tests for bytesM 2018-04-30 13:02:02 +01:00
Alex Beregszaszi
e0b178e1c5 Disable FixedBytesType(0) aka bytes0 2018-04-30 12:23:30 +01:00
chriseth
1604a996fe
Merge pull request #4005 from oboukli/fix-comment-typos
Fix comment typos
2018-04-27 19:04:05 +02:00
Omar Boukli-Hacene
090f9995f2 Fix comment typos 2018-04-27 19:31:30 +04:00
Leonardo Alt
d43436cfec Add syntax tests and Changelog entry 2018-04-27 14:13:18 +02:00
Leonardo Alt
ab251c7e7d Bool variables should not allow arithmetic comparison 2018-04-27 11:35:58 +02:00