Commit Graph

15690 Commits

Author SHA1 Message Date
Mathias Baumann
21611f6b6f Add test for incorrect evm version when importing an ast tree 2020-01-14 18:42:43 +01:00
chriseth
b3fe84a6ea
Merge pull request #7153 from djudjuu/newImportAST
import ast from JSON
2020-01-14 17:56:53 +01:00
chriseth
fe35df4b78 Style. 2020-01-14 17:17:20 +01:00
chriseth
180344ab17 Changelog entry. 2020-01-14 17:16:25 +01:00
chriseth
0f014144c8 Test for true/false in inline assembly. 2020-01-14 17:16:09 +01:00
chriseth
123ea0a250 Remove asm flavour. 2020-01-14 17:16:09 +01:00
djudjuu
e8556fa1b2 Ast-Import from standard-json 2020-01-14 17:15:53 +01:00
chriseth
8865ec76dc
Merge pull request #8126 from GNSPS/develop
Update grammar to include special functions
2020-01-14 16:38:15 +01:00
chriseth
6dbadf692b
Merge pull request #7843 from ethereum/updateEmscriptenWasmTest
Switch to building soljson.js with base64 encoded embedded wasm binary.
2020-01-14 16:35:02 +01:00
Mathias Baumann
adc4774d4a ASTJSON: Export evm version 2020-01-14 12:51:21 +01:00
Gonçalo Sá
b6ddb32497 Update grammar to include special functions (constructor, fallback, receive ether) 2020-01-13 19:41:36 +00:00
Christian Parpart
408458b7c9
Merge pull request #8130 from ethereum/devcorenomore
CMake: Renaming devcore static library to solutil (to match source code paths)
2020-01-13 16:49:29 +01:00
Christian Parpart
abb9f1eed7 CMake: Renaming devcore static library to solutil (to match source code paths) 2020-01-13 15:52:46 +01:00
Bhargava Shastry
49a05b5935 Permit variable declarations inside for init block 2020-01-13 16:17:33 +05:30
Daniel Kirchner
90e494615e Build soljson.js with embedded base64-encoded wasm binary. 2020-01-13 10:51:48 +01:00
Alex Beregszaszi
b85d478931 Add assertion for contract name clash in the resolver in CompilerStack 2020-01-10 11:49:44 +01:00
chriseth
d577a768ab
Merge pull request #8115 from GNSPS/develop
Change grammar to reflect optionality of parameter list in catch clause
2020-01-10 08:44:51 +01:00
Gonçalo Sá
57fcab80fc Update grammar to represent optionality in catch clauses parameter list 2020-01-09 23:12:24 +00:00
chriseth
a4e34b378a
Merge pull request #8105 from ethereum/functionTypeRefactor
Add a new Function Type referring to FunctionDefinition's without calling context and use it to allow selector lookup.
2020-01-09 17:15:46 +01:00
Daniel Kirchner
9535c0f520 Introduce FunctionKind::Declaration and allow accessing function signatures via contract name. 2020-01-09 15:40:41 +01:00
chriseth
58b6cb4425
Merge pull request #8122 from ethereum/soltestEmptyOptions
Ignore empty options to (i)soltest
2020-01-09 15:16:34 +01:00
chriseth
0f975930a4
Merge pull request #8071 from random-internet-cat/annotation-cleanup
Add methods for AST annotation implementation
2020-01-09 14:56:53 +01:00
chriseth
ba4a7244ed
Merge pull request #8121 from ethereum/sourceReferenceExtractorWithoutSource
Handle empty source strings in SourceReferenceExtractor
2020-01-09 14:53:03 +01:00
Daniel Kirchner
b845595cbd Ignore empty options to (i)soltest 2020-01-09 14:49:11 +01:00
Jason Cobb
3726f7448e
Remove now-unused abstractAnnotation helper 2020-01-09 08:44:24 -05:00
Jason Cobb
dc380f017f
Make CallableDeclaration::annotation pure virtual 2020-01-09 08:37:32 -05:00
Jason Cobb
dc6c19cafa
Add methods for AST annotation implementation 2020-01-09 08:37:32 -05:00
chriseth
00699c444e
Merge pull request #8107 from ethereum/maybe_unused
Replace void cast by maybe_unused
2020-01-09 14:25:08 +01:00
Daniel Kirchner
03c70f45d6 Handle empty source strings in SourceReferenceExtractor 2020-01-09 14:18:54 +01:00
Leonardo Alt
a02308cfa5 Replace void cast by maybe_unused 2020-01-09 13:41:30 +01:00
chriseth
17158995b5
Merge pull request #7833 from ethereum/combineValueAndLoopDepth
Combine value and loop depth
2020-01-09 13:01:22 +01:00
chriseth
24bf11a2bb
Merge pull request #8114 from ethereum/fixModComment
Fix comment.
2020-01-08 21:53:41 +01:00
chriseth
b68ea243fc Fix comment. 2020-01-08 18:37:46 +01:00
chriseth
589feb9bb9
Merge pull request #8040 from ethereum/stateless-7566
Move states from the TypeChecker to the PostTypeChecker
2020-01-08 14:20:12 +01:00
Mathias Baumann
2179562785 Move variables-in-interfaces checker to PostTypeChecker
refs #7566
2020-01-08 14:05:08 +01:00
Mathias Baumann
21844aa545 Move event-outside-emit check to PostTypeChecker
refs #7566
2020-01-08 14:05:08 +01:00
Mathias Baumann
9f8d49e358 Move modifier context check to PostTypeChecker
refs #7566
2020-01-08 14:05:08 +01:00
chriseth
5ad590cf0b
Merge pull request #8088 from ethereum/docs-tools
[DOCS] Add new resources and change sort order
2020-01-08 13:08:10 +01:00
chriseth
5ca3abd7cb
Merge pull request #8106 from random-internet-cat/move-contract-kind
Move ContractKind from ContractDefinition to file-scope
2020-01-08 13:06:26 +01:00
chriseth
b8488597da Combine value and loop depth. 2020-01-08 12:25:46 +01:00
chriseth
e81e73345e
Merge pull request #8112 from ethereum/fixIndent
[tiny PR] Fix indentation in test/tools/CMakeLists.txt
2020-01-08 11:44:06 +01:00
Daniel Kirchner
61652366ab Fix indentation 2020-01-08 10:42:19 +01:00
chriseth
b5bd4787af
Merge pull request #7801 from ethereum/tuneRemat
Tune rematerializer
2020-01-08 10:41:32 +01:00
chriseth
06a7c49729
Merge pull request #8049 from imapp-pl/polyfill-part-1
Ewasm polyfill getter functions
2020-01-08 10:26:29 +01:00
Chris Chinchilla
bd7ac57f32 Add new resources and change sort order 2020-01-08 10:11:08 +01:00
rodiazet
b8c59c56e0 [WASM] Add keccak256, balance, extcodecopy, blockhash, coinbase, log's, call, callcode, delegatecall, staticcall 2020-01-08 10:08:36 +01:00
chriseth
8de05a4a9e
Merge pull request #8111 from ethereum/docNameDestructible
Change naming to "destructible".
2020-01-08 10:01:41 +01:00
chriseth
01dfc512a9 Changelog entry. 2020-01-08 09:57:38 +01:00
chriseth
40c0602b5c Do not rematerialize in loops. 2020-01-08 09:56:08 +01:00
chriseth
25d3f27c11 Tune Rematerializer 2020-01-08 09:56:08 +01:00