Commit Graph

9306 Commits

Author SHA1 Message Date
Matthew Halpern
da36c82a0a Allow lllc to be installed 2018-02-13 10:20:43 +00:00
Alex Beregszaszi
f8810ef9e8
Merge pull request #3497 from ethereum/modandchangelog
Mention mod-and-replacement in changelog.
2018-02-13 10:18:59 +00:00
chriseth
927adb8f2a Mention mod-and-replacement in changelog. 2018-02-13 08:51:11 +01:00
chriseth
729c6a95f8
Merge pull request #3425 from jevogel/3301
Deprecate the var keyword in SyntaxChecker
2018-02-13 08:40:41 +01:00
chriseth
a75d4ec60e
Merge pull request #2818 from ethereum/testGnosis
Also test gnosis contracts.
2018-02-13 08:38:55 +01:00
Alex Beregszaszi
27ef979458
Merge pull request #3374 from ethereum/optim-mod-pow2
Replace MOD with AND if constant is power of 2
2018-02-13 00:39:49 +00:00
Alex Beregszaszi
c7ce6db32a
Merge pull request #3477 from ethereum/emscripten-exceptions
Disable greedy exception catcher in Emscripten build
2018-02-13 00:13:09 +00:00
Alex Beregszaszi
4876842f69 Replace fixed-version pragmas in Gnosis 2018-02-12 23:26:07 +00:00
chriseth
32fdb1cd4b Use node 7 as required by Gnosis contracts 2018-02-12 23:26:07 +00:00
chriseth
9956d1dd7b Also test Gnosis contracts. 2018-02-12 23:26:03 +00:00
chriseth
1e09d6ba7b Test for Mod-And rule. 2018-02-12 22:47:04 +00:00
Alex Beregszaszi
037b97ef4a Replace MOD with AND if constant is power of 2 2018-02-12 22:47:04 +00:00
Alex Beregszaszi
b4f99312e6 Disable greedy exception catcher in Emscripten build 2018-02-12 22:44:51 +00:00
Alex Beregszaszi
954903b505
Merge pull request #3489 from ethereum/fixZepplein
Fix some weird zeppelin tests.
2018-02-12 22:44:13 +00:00
Alex Beregszaszi
573aa01fd2 Adjust tests for multiple errors with the var keyword 2018-02-12 22:39:42 +00:00
Alex Beregszaszi
3ddbf1617f Do not use var where not neccessary in tests 2018-02-12 22:37:35 +00:00
Jimmy Vogel
dc5ad899d0 Deprecate the var keyword (and mark it an error as experimental 0.5.0 feature) 2018-02-12 22:37:26 +00:00
chriseth
8795036919
Merge pull request #3479 from ethereum/multiError
Support searching inside multiple errors.
2018-02-12 22:20:58 +01:00
chriseth
2ce2f08742 Fix some weird zeppelin tests. 2018-02-12 21:17:58 +00:00
chriseth
bf36821080
Merge pull request #3478 from ethereum/simplifierFormatNumber
Format number nicely in the IULIA simplifier.
2018-02-12 21:57:05 +01:00
chriseth
676cf52264 Support searching inside multiple errors. 2018-02-12 16:41:31 +01:00
Alex Beregszaszi
69e2f497ba
Merge pull request #3474 from ethereum/circle2
Split emscripten circle job into build and test.
2018-02-12 10:13:27 +00:00
chriseth
49d867d27b
Merge pull request #3484 from federicobond/fix-segfault
Fix segfault with undeclared array types
2018-02-12 10:40:18 +01:00
Federico Bond
75a3a707a2 Fix segfault with undeclared array types 2018-02-11 21:40:41 -03:00
chriseth
d7e5cc3f97 Pretty-print constants in simplifier. 2018-02-09 19:00:40 +01:00
chriseth
d84c9e148b Generic pretty-printed numbers.. 2018-02-09 19:00:40 +01:00
chriseth
937f16afef Handle version for solcjs tests. 2018-02-09 18:24:12 +01:00
chriseth
981ff308ec Split solcjs and external tests. 2018-02-09 18:24:12 +01:00
chriseth
0a4dc2cc86 Split build and test emscripten 2018-02-09 18:24:12 +01:00
chriseth
2095e7a32d
Merge pull request #3472 from ethereum/removeemptyblocks
Use removeEmptyBlocks helper in FunctionHoister
2018-02-09 10:24:40 +01:00
chriseth
56a96213b1
Merge pull request #3462 from aarlt/darwin_clang_16mb_stack
Set stack-size to 16MB for darwin clang.
2018-02-09 10:23:48 +01:00
chriseth
0084777038
Merge pull request #3470 from ethereum/circle
Run regular x86 build via circle.
2018-02-09 10:11:09 +01:00
chriseth
4777fefc09 Store test results. 2018-02-09 00:36:05 +01:00
Alex Beregszaszi
96fe589f3c Use removeEmptyBlocks helper in FunctionHoister 2018-02-08 22:44:21 +00:00
chriseth
55bffcc758 Run regular x86 build via circle. 2018-02-08 17:35:08 +01:00
chriseth
9b61fb2e99
Merge pull request #3456 from ethereum/simplifier
Use simplification rules also for IULIA
2018-02-08 16:50:17 +01:00
chriseth
7dd99a62c5 Try something else. 2018-02-08 15:26:23 +01:00
Alex Beregszaszi
63fb319db3
Merge pull request #3236 from ethereum/inliner
Expression Inliner
2018-02-07 23:48:00 +00:00
chriseth
c9a032a1e2 Larger stack for nodejs when building via emscripten. 2018-02-07 20:27:16 +01:00
chriseth
9429e18dda Fix tests for old precompiler. 2018-02-07 19:23:47 +01:00
chriseth
c961a3079d Turn simplification rule tuple into struct. 2018-02-06 22:51:30 +01:00
chriseth
5523296eaa Also apply simplification rules that require multiple identical sub-expressions. 2018-02-06 22:51:30 +01:00
chriseth
f7392cc698 Tests. 2018-02-06 22:51:30 +01:00
chriseth
65c31ecaeb Remove recursive call to simplify with reversed arguments.
(We now have explicit rules for that).
2018-02-06 22:51:30 +01:00
chriseth
295f8c07ad Explicitly add reversed operands for commutative operations. 2018-02-06 22:51:30 +01:00
chriseth
9eea3f29ba Expression simplifier. 2018-02-06 22:51:30 +01:00
chriseth
591813638e Explanation of expression simplifier. 2018-02-06 22:51:30 +01:00
chriseth
b8074cdf78 Add flag to indicate whether it can be applied to expressions with side-effects. 2018-02-06 22:51:30 +01:00
chriseth
491d6d3e0c Move out the rule list. 2018-02-06 22:51:30 +01:00
chriseth
d7863e2054 Test about recursively calling functions. 2018-02-06 14:50:39 +00:00