Commit Graph

17202 Commits

Author SHA1 Message Date
Kamil Śliwak
06e1b38d1d WasmCodeTransform: Convert Yul 'if's with i32 argument directly to wasm 'if' without an extra comparison with zero 2020-06-16 15:36:47 +02:00
Kamil Śliwak
50b426e37b Update the expected output of command-line tests after wasm changes 2020-06-16 15:36:47 +02:00
Kamil Śliwak
d9ca02b47a Enable translation of i32 Yul variables/literals to i32 wasm variables/literals
- Until now they were being translated to i64
2020-06-16 15:36:47 +02:00
chriseth
50e8d6850f Remove wasm type conversions. 2020-06-16 15:36:42 +02:00
chriseth
8086ddd3bd
Merge pull request #9189 from ethereum/simplifyResolver
Simplify inline assembly resolver.
2020-06-16 15:31:21 +02:00
chriseth
3a8c996807
Merge pull request #9193 from ethereum/experimentalFeatureBysource
Directly determine if experimental feature active.
2020-06-16 14:27:27 +02:00
chriseth
8e23899886
Merge pull request #9188 from ethereum/refactorNameAndType
Refactor name and type resolution in preparation for free functions.
2020-06-16 14:26:52 +02:00
chriseth
4406599ba6
Merge pull request #9198 from a3d4/fix-9139-false-natspec
Fix false ////- and /***-natspec
2020-06-16 11:15:58 +02:00
a3d4
5d63fa09e9 Fix false ////- and /***-natspec 2020-06-16 11:15:04 +02:00
chriseth
547fbf0b6e
Merge pull request #9204 from ethereum/prepareAllowUsingForEverywhere
Prepare for allowing bound functions and using for everywhere.
2020-06-16 10:48:53 +02:00
chriseth
645c3508a8 Prepare for allowing bound functions and using for everywhere. 2020-06-15 21:20:18 +02:00
chriseth
5fdbb5c3e3 Simplify inline assembly resolver. 2020-06-15 18:10:18 +02:00
chriseth
b9c9535647
Merge pull request #9202 from ethereum/explainPrerelease
Explain how to build proper release.
2020-06-15 17:34:02 +02:00
chriseth
4b3ae0b206
Merge pull request #9075 from ethereum/commandline-invalid-asm-mode-options
Disallow invalid command-line option combinations in assembly mode
2020-06-15 17:33:12 +02:00
chriseth
00f2800570 Explain how to build proper release. 2020-06-15 17:32:19 +02:00
chriseth
cc23794575
Merge pull request #8858 from ethereum/fix-8857
Add more tests for yul cleanup codegen
2020-06-15 17:18:50 +02:00
Kamil Śliwak
c5fb5f6d57 List command-line interface changes in the changelog 2020-06-15 17:13:17 +02:00
Kamil Śliwak
4bd078ed7e CommandLineInterface: Disallow --output-dir, --gas and --combined-json in assembly mode 2020-06-15 17:12:51 +02:00
Kamil Śliwak
0d7b3ae503 CommandLineInterface: Disallow --yul-dialect and --machine when not in assembly mode 2020-06-15 17:12:51 +02:00
Kamil Śliwak
8396002fe7 CommandLineInterface: Disallow using --assemble, --strict-assembly, --yul, --link, --standard-json and --import-ast at the same time 2020-06-15 17:12:51 +02:00
Kamil Śliwak
a806d48ad5 CommandLineInterface: Add countEnabledOptions() and joinOptionNames() helpers 2020-06-15 17:12:51 +02:00
chriseth
b94a00baf6
Merge pull request #9163 from ethereum/issue-8922
Natspec: Output "type" and "version" in documentation
2020-06-15 16:20:45 +02:00
Mathias Baumann
d54e7f50ed Natspec: Output "type" and "version" in documenation 2020-06-15 14:53:34 +02:00
chriseth
08b7d007da
Merge pull request #9093 from ethereum/conversionWarningsLibYul
Adding fixes for signedness conversion warnings in libyul
2020-06-12 17:13:56 +02:00
Daniel Kirchner
633b170f58
Merge pull request #9159 from ethereum/smt_nondet_mod
[SMTChecker] Replace explicit mod by slack variables
2020-06-12 17:05:13 +02:00
Leonardo Alt
3c4e286390 [SMTChecker] Replace wrap mod by slack vars 2020-06-12 14:57:21 +02:00
chriseth
194c2b8c9c Directly determine if experimental feature active. 2020-06-12 12:18:48 +02:00
chriseth
07c1167136 Refactor name and type resolution. 2020-06-12 12:18:02 +02:00
Bhargava Shastry
9264135bef Add tests to validate clearing dirty bits via inline assembly operations 2020-06-12 11:32:15 +02:00
Djordje Mijovic
33e7b24df0 Adding fixes for signedness conversion warnings in libyul
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2020-06-12 10:39:30 +02:00
chriseth
21a9d3dd21
Merge pull request #9191 from ethereum/travisEmscriptenDockerImage
Update travis config to move to next docker image revision.
2020-06-11 22:26:13 +02:00
chriseth
88d1cbbdb0
Merge pull request #9192 from ethereum/release
Merge release back to develop.
2020-06-11 20:39:37 +02:00
chriseth
849c94ec4e
Merge pull request #9190 from ethereum/version611
Set version to 0.6.11.
2020-06-11 20:39:00 +02:00
chriseth
65937ab5c8 Set version to 0.6.11. 2020-06-11 20:24:01 +02:00
Daniel Kirchner
c4464b6dcd Update travis config to move to next docker image revision. 2020-06-11 20:20:22 +02:00
chriseth
f3150a2b34
Merge pull request #9138 from ethereum/conversionWarningFixes2
Fixing conversion errors after adding `-Wconversion` flag
2020-06-11 18:51:56 +02:00
chriseth
00c0fcaffd
Merge pull request #9186 from ethereum/develop
Merge develop into release for 0.6.10
2020-06-11 15:11:19 +02:00
chriseth
bb6d677d12
Merge pull request #9185 from ethereum/prepare0610
Set release date for 0.6.10.
2020-06-11 14:26:21 +02:00
chriseth
0689cda19a
Merge pull request #9116 from ethereum/solYulCleanupFromStorageReference
New test for getters.
2020-06-11 14:08:10 +02:00
chriseth
3c43216a75 Set release date for 0.6.10. 2020-06-11 14:07:00 +02:00
chriseth
012ba9537b
Merge pull request #9184 from ethereum/fixUsingForStorage
Fix using for with explicit reference types.
2020-06-11 14:00:28 +02:00
chriseth
c42373dce4
Merge pull request #9142 from ethereum/wasm-support-for-i32-in-generated-code
Add support for types in Wasm AST and code generation
2020-06-11 13:59:44 +02:00
chriseth
5c71b3fbb0
Merge pull request #9173 from ethereum/fixBoundCalldata
Fix bound functions with calldata parameters.
2020-06-11 13:31:30 +02:00
chriseth
365a3fcbc2
Merge pull request #9183 from ethereum/yulFixStructAlloc
Fix memory struct allocation in Sol->Yul.
2020-06-11 13:08:27 +02:00
chriseth
549c90612c Fix using for with explicit reference types. 2020-06-11 13:04:41 +02:00
Daniel Kirchner
6763234410 More details in bug list. 2020-06-11 12:57:53 +02:00
Daniel Kirchner
73cd009b89 Fix struct allocation in Sol->Yul. 2020-06-11 12:16:45 +02:00
chriseth
d4e3491f35
Merge pull request #9177 from ethereum/fixYulStructMemberAccess
[Sol -> Yul] Fix struct member access for memory and implement for calldata.
2020-06-11 09:41:04 +02:00
Djordje Mijovic
9e92fbccee Refactoring bytesRequired to accept and return size_t 2020-06-11 08:26:57 +02:00
Djordje Mijovic
731b2efc97 Fixing liblangutil conversion warnings 2020-06-11 08:26:57 +02:00