Commit Graph

17026 Commits

Author SHA1 Message Date
Kamil Śliwak
a331d4449d Add linkersymbol() builtin to Yul EVM dialect 2020-06-24 15:06:52 +02:00
Kamil Śliwak
1b09b4f950 Allow Yul literals longer than 32-bytes when used as literal arguments for builtins 2020-06-24 15:05:38 +02:00
chriseth
062a999e85
Merge pull request #9228 from ethereum/fix-9210
Add multi source semantic tests
2020-06-23 18:14:55 +02:00
Bhargava Shastry
0397266351 Implement multi source semantic tests
Co-authored-by: chriseth <chris@ethereum.org>
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2020-06-23 17:29:16 +02:00
chriseth
1213300594
Merge pull request #9214 from ethereum/fix-infinte-loops-ewasm
[ewasm] Fix infinite loops.
2020-06-23 14:29:45 +02:00
Alexander Arlt
86be0fbc2f [ewasm] Fix infinite loops. 2020-06-23 12:35:03 +02:00
chriseth
e419e904d3
Merge pull request #9215 from a3d4/fix-grammar-pragma-version
Fix pragma solidity version in antlr grammar
2020-06-23 12:34:29 +02:00
a3d4
25ebff3a38 Fix pragma solidity version in antlr grammar 2020-06-23 02:25:21 +02:00
chriseth
3941c62d11
Merge pull request #9244 from ethereum/fixAssigncalldata
Do not disallow assigning to external parameters.
2020-06-22 23:42:33 +02:00
chriseth
98e5923e3a Do now disallow assigning to external parameters. 2020-06-22 18:36:32 +02:00
chriseth
1cb02af240
Merge pull request #9227 from a3d4/incorporate-error-codes-into-syntaxtest
Added error codes to SyntaxTest expectations
2020-06-22 17:24:21 +02:00
a3d4
1d2ae7d82a Added error codes to SyntaxTest expectations (changed code) 2020-06-22 16:53:03 +02:00
a3d4
e04cedafc5 Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
chriseth
8ebe7676d5
Merge pull request #9209 from ethereum/modulesArePure
Modules are pure.
2020-06-22 12:05:30 +02:00
Harikrishnan Mulackal
231952e01d
Merge pull request #9238 from ethereum/docs-yul-fix-immutable-typos
[docs] Fix a few typos in setimmutable/loadimmutable docs
2020-06-22 13:10:41 +05:30
Kamil Śliwak
44e39f3626 docs/yul.rst: Fix typos in setimmutable/loadimmutable docs 2020-06-19 18:26:30 +02:00
chriseth
cd2cc76f20 Modules are pure. 2020-06-18 18:28:04 +02:00
chriseth
b1d22ab2c8
Merge pull request #9225 from ethereum/fixLocationOfYulAssignment
Fix location of yul assignment
2020-06-18 15:54:46 +02:00
chriseth
b00014c51d Fix source location of yul multi-assignemnt. 2020-06-18 14:31:53 +02:00
chriseth
d19aa2e51b
Merge pull request #9224 from ethereum/fixBoundToStruct
Check if using for refers to a library earlier.
2020-06-18 13:36:39 +02:00
chriseth
63fb0a5475
Merge pull request #9221 from step21/develop
Added raspbian to install_deps
2020-06-18 13:32:36 +02:00
step21
2a0d701f70 added raspbian 2020-06-18 10:29:06 +02:00
chriseth
76468f19fe Check if using for refers to a library earlier. 2020-06-17 17:45:40 +02:00
chriseth
8d3c2ba6d9
Merge pull request #8240 from ethereum/wasmTypeConversions
Remove wasm type conversions
2020-06-16 15:50:44 +02:00
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