Commit Graph

12585 Commits

Author SHA1 Message Date
Daniel Kirchner
fd16585724 Undo second SSA transformation and add more tests. 2019-01-17 20:37:43 +01:00
Daniel Kirchner
6de2d92f20 Add SSAReverser to the yul optimiser. 2019-01-17 20:37:43 +01:00
chriseth
2a92403690 Changelog entry. 2019-01-17 20:37:34 +01:00
chriseth
2a0d4f358c Add test for content of creationCode and runtimeCode. 2019-01-17 20:36:48 +01:00
chriseth
29f6aa7d56 Do not create a copy of the assembly. 2019-01-17 20:36:48 +01:00
chriseth
a9fa2658d8 Add helper to show if contract can be deployed. 2019-01-17 20:36:48 +01:00
chriseth
01ad4bffe7 Documentation. 2019-01-17 20:36:48 +01:00
chriseth
fed56f33d5 Type is not reserved anymore. 2019-01-17 20:36:48 +01:00
chriseth
4669b06ab4 Warn if type(..).runtimeCode is used with assembly in the constructor. 2019-01-17 20:36:48 +01:00
chriseth
0bfdaa500a Add code access dependency. 2019-01-17 20:36:48 +01:00
chriseth
e6fee257e6 Code generation for access to contract code. 2019-01-17 20:36:48 +01:00
chriseth
2fcfb216b5 Syntax for meta type information. 2019-01-17 20:36:48 +01:00
chriseth
44237211d1 Tests. 2019-01-17 20:36:48 +01:00
Alex Beregszaszi
7c07e94986
Merge pull request #4441 from ethereum/emscriptenBoostTest
Update emscripten version to 1.38.8.
2019-01-17 18:42:00 +00:00
Daniel Kirchner
5baac8470b Use emscripten 1.38.8 on both travis and circle. 2019-01-17 18:31:34 +01:00
chriseth
6de10cb9da
Merge pull request #5809 from ethereum/emscripten-strict
Set emscripten strict mode and remove obsolete option
2019-01-17 17:15:35 +01:00
Alex Beregszaszi
3f58505c76 Remove obsolete ETH_EMSCRIPTEN option
This was made obsolete by using toolchain files (#2836)
2019-01-17 15:23:21 +00:00
Daniel Kirchner
ecdc00d569 Set emscripten to strict mode (wrt deprecated compiler options). 2019-01-17 15:22:43 +00:00
Leonardo Alt
83e7233bb8 Change error message and add tests 2019-01-17 14:28:03 +01:00
Leonardo Alt
c96b760c47 Return TypeError is fixed point encoding is attempted. 2019-01-17 13:36:53 +01:00
chriseth
d8f663429f
Merge pull request #5805 from ethereum/yulSwitchChangelogFix
Add missing Changelog entries for Yul switch changes.
2019-01-17 13:06:31 +01:00
Daniel Kirchner
1f06a94b5d Add missing Changelog entries for Yul switch changes. 2019-01-17 13:02:01 +01:00
Chris Chinchilla
72c2100164
Merge pull request #5800 from ethereum/wip/faq-call
[DOCS] Add call warning into main docs and remove FAQ item
2019-01-17 11:31:46 +02:00
Erik Kundt
5279f9f03b
Update docs/units-and-global-variables.rst
Co-Authored-By: ChrisChinchilla <chriswhward@gmail.com>
2019-01-17 10:19:16 +02:00
Chris Chinchilla
6841d78896
Merge pull request #5801 from ethereum/idio-contract
[DOCS] Mention that there is no Cron in Ethereum
2019-01-17 10:15:48 +02:00
Chris Chinchilla
49f74a7bc1
Merge pull request #5798 from ethereum/faq-conversion
[DOCS] Remove conversion FAQ Item
2019-01-17 10:14:55 +02:00
chriseth
78e764ef17
Merge pull request #5694 from ethereum/yul-ast-unique_ptr
[libyul] use unique_ptr in AST over shared_ptr
2019-01-16 17:26:09 +01:00
Chris Ward
131e23100c Mention that there is no Cron in Ethereum 2019-01-16 17:39:29 +02:00
Chris Ward
eab9e58e7e Add call warning into main docs and remove FAQ item 2019-01-16 17:11:23 +02:00
Christian Parpart
065c3c87af
libyul: changing some AST members from shared_ptr<> to unique_ptr<>
* Some spaces look a little more verbose now, but that shouln't be a problem as it also should raise readability, too.
* This makes some use of return-value-optimizations also.
2019-01-16 14:58:59 +01:00
Chris Ward
816e23c7f6 Remove FAQ Item 2019-01-16 14:57:31 +02:00
Chris Ward
b58a6a4a04 Remove FAQ item 2019-01-16 14:50:50 +02:00
Leonardo Alt
a10db051de [SMTChecker] Support basic typecast 2019-01-16 13:00:54 +01:00
chriseth
778b14de26
Merge pull request #5776 from ethereum/equivalentFunctionCombiner
[Yul] Equivalent function combiner.
2019-01-16 11:47:57 +01:00
Christian Parpart
82453a76a3
Merge pull request #5787 from ethereum/boost-upgrade-and-circleci
Ensuring we use at least boost 1.65, build static on Xenial, and adapt CircleCI accordingly.
2019-01-16 11:21:33 +01:00
Daniel Kirchner
81f24f24e6 Add equivalent function combiner as Yul optimizer step. 2019-01-15 17:21:03 +01:00
chriseth
6146c59a1a
Merge pull request #5793 from ethereum/switchLiteralSameValue
[Yul] Require equal types for switch cases and detect duplicates by number value.
2019-01-15 16:57:32 +01:00
Daniel Kirchner
4c8f8e9491 Disallow mismatching types in switch cases and detect duplicates by value for number literals. 2019-01-15 16:32:21 +01:00
chriseth
f9ca5b78fb
Merge pull request #5786 from ethereum/docs-split-micropayment
[DOCS] Split micropayments example into seperate file
2019-01-15 00:03:01 +01:00
Chris Ward
0010371a93 Split micropayments example into seperate file 2019-01-14 23:55:17 +01:00
chriseth
af12697dda
Merge pull request #5785 from ethereum/docs-split-safe-remote
[DOCS] Split safe remote example into new file
2019-01-14 23:51:55 +01:00
chriseth
7911efb24c
Merge pull request #5784 from ethereum/docs-split-blind-auction
[DOCS] Split blind auction example into seperate doc
2019-01-14 23:50:43 +01:00
chriseth
92b39b6255
Merge pull request #5746 from ethereum/docs-split-functions
[DOCS] Split functions docs
2019-01-14 16:35:53 +01:00
Chris Ward
18cceba81f Split functions docs 2019-01-14 16:34:35 +01:00
Christian Parpart
b7eaa4f8d3
Ensuring we use at least boost 1.65, build static on Xenial, and adapt CircleCI accordingly. 2019-01-14 16:10:26 +01:00
chriseth
2d4951edf7
Merge pull request #5790 from ethereum/faq-explicit-conversion
[DOCS] Remove explicit conversion FAQ item, covered elsewhere
2019-01-14 14:13:07 +01:00
chriseth
185d221909
Merge pull request #5788 from ethereum/remove-rnd-faq
[DOCS] Remove FAQ item on random number generation
2019-01-14 14:12:35 +01:00
chriseth
d5d90850b4
Merge pull request #5789 from ethereum/waq-multid-array
[DOCS] Remove Multi-dimensional array FAQ
2019-01-14 14:12:10 +01:00
Chris Ward
f4ee72494f Remove explicit conversion FAQ item, covered elsewhere 2019-01-14 14:29:07 +02:00
Chris Ward
b49f6781ef Remove Multi-dimensional array FAQ 2019-01-14 14:25:03 +02:00