benjaminion
c603369a51
Change opcode generated by (panic) to INVALID
...
EIP-141 ethereum/EIPs#141 has preserved 0xfe as an invalid opcode for aborting EVM execution. The EVM assembler supports this via the INVALID opcode.
The LLL "panic" expression used to generate a jump to an invalid location in order to abort EVM execution. This change brings "panic" into line with EIP-141 by generating the INVALID opcode instead.
2017-06-13 17:01:38 +01:00
Alex Beregszaszi
40f5690f68
Merge pull request #2353 from ethereum/license_output
...
Include license and warranty statement with solc.
2017-06-13 16:03:24 +01:00
Alex Beregszaszi
0c8c209194
Merge pull request #2375 from ethereum/macro_with_zero_args
...
LLL: macro with zero args
2017-06-13 14:44:29 +01:00
Yoichi Hirai
c4f0608b68
More informative test
2017-06-13 12:28:03 +02:00
Yoichi Hirai
0909ffc26e
Fix the expectation about the parse
2017-06-13 12:21:28 +02:00
chriseth
3699d27cc9
Merge pull request #2368 from jamesray1/patch-5
...
Doxygen
2017-06-12 17:23:55 +02:00
chriseth
e48a1a3851
Merge pull request #2372 from jamesray1/patch-13
...
Create types.rst
2017-06-12 17:21:28 +02:00
chriseth
39a7b63897
Added linebreak.
2017-06-12 17:21:19 +02:00
chriseth
43d3d4eba4
Merge pull request #2366 from sandakersmann/patch-1
...
Fixed "building-from-source" link
2017-06-12 17:19:05 +02:00
chriseth
78c892aafa
Undo changes to building from source.
2017-06-12 17:18:55 +02:00
Yoichi Hirai
a03913427f
Add an end-to-end test about LLL macro with zero arguments
2017-06-12 15:16:08 +02:00
Yoichi Hirai
37a949e634
liblll: allow macros with no arguments
2017-06-12 15:16:08 +02:00
Yoichi Hirai
b86b084bc6
Add a test that fails about an LLL macro with no arguments
2017-06-12 15:16:03 +02:00
chriseth
f583008c73
Remove copyright notice.
2017-06-12 12:28:17 +02:00
Yoichi Hirai
496c2a208e
Merge pull request #2374 from jamesray1/patch-18
...
Create types.rst
2017-06-12 11:11:59 +02:00
James Ray
0423278a31
Create types.rst
...
hash table link
2017-06-12 18:12:09 +10:00
James Ray
2dd23cec7a
Create types.rst
...
Note that the following is not a pair of dynamic arrays but a dynamic array of pairs (i.e. of fixed size arrays of length two).
2017-06-12 17:36:51 +10:00
James Ray
997151c734
Doxygen
...
Link for more information about Doxygen.
2017-06-11 15:41:15 +10:00
Marius Kjærstad
320bc15431
Fixed "building-from-source" link
...
Fixed building-from-source link in contributing.rst
2017-06-10 14:33:02 +02:00
Alex Beregszaszi
fe3b46554a
Merge pull request #2362 from ethereum/lowercase_instructions
...
Use lowercase when reporting instruction error.
2017-06-09 14:49:59 +01:00
chriseth
32dc538369
Merge pull request #2360 from ethereum/codegen-cleanup
...
Remove seldom used CodeGen case
2017-06-09 15:40:03 +02:00
chriseth
bf2b5c746a
Use lowercase when reporting instruction error.
2017-06-09 15:17:29 +02:00
Alex Beregszaszi
8768080a02
Remove excess includes
2017-06-09 12:47:05 +01:00
Alex Beregszaszi
1da3af161f
Simplify CodeGenerator by remove seldom used case
2017-06-09 12:45:56 +01:00
Alex Beregszaszi
3e91177c4d
Merge pull request #2359 from ethereum/remove-asmstack
...
Remove AsmStack
2017-06-09 12:28:36 +01:00
chriseth
9d0691b47a
Include license and warranty statement with solc.
2017-06-09 13:11:15 +02:00
Alex Beregszaszi
114c157b04
Remove obsolete AsmStack
2017-06-09 11:43:41 +01:00
Alex Beregszaszi
ae6251effd
Use inline assembly directly and not via AsmStack
2017-06-09 11:43:40 +01:00
Alex Beregszaszi
76667fed4f
Merge pull request #2304 from ethereum/evm15asm
...
Implementation of EVM 1.5 backend
2017-06-09 11:23:40 +01:00
Alex Beregszaszi
80227af08a
Add test for two functions calling eachother
2017-06-09 10:46:13 +01:00
chriseth
6b3e7f79cf
Comments and consistent variable names.
2017-06-09 10:45:36 +01:00
chriseth
40cb14cdef
Fix compiler warning.
2017-06-08 15:52:45 +02:00
chriseth
308a726ad1
Fix: Copy resolver.
2017-06-08 15:52:45 +02:00
chriseth
b32d5e4cc0
Visitor bugfix.
2017-06-08 15:52:45 +02:00
chriseth
893e6f4ec2
Missing stack height check for variable declaration.
2017-06-08 15:52:45 +02:00
chriseth
ef3d5874fe
Remove error reporter from code generation phase.
2017-06-08 15:52:45 +02:00
chriseth
19f707aeaa
Some more comments.
2017-06-08 15:52:45 +02:00
chriseth
b098b363b5
Test for embedded functions.
2017-06-08 15:52:45 +02:00
chriseth
0185f3cbf6
Correct stack height adjustment after returnsub.
2017-06-08 15:52:45 +02:00
chriseth
ba5ee71b7f
Generate only single error in inline assembly.
2017-06-08 15:52:45 +02:00
chriseth
b75c7b5775
Move inline assembly to new abstraction and test both backends.
2017-06-08 15:52:45 +02:00
chriseth
fefd3b866d
Introduce machine-dependent stack adjustment.
2017-06-08 15:52:45 +02:00
chriseth
64ddb176bb
Test for accessing outer inline assembly scope.
2017-06-08 15:52:45 +02:00
chriseth
97cc968a13
Initial EVM1.5 assembly implementation.
2017-06-08 15:52:44 +02:00
chriseth
21e0b69dcb
Merge pull request #2348 from ethereum/asmstack-analyze
...
Add analyze() to AssemblyStack
2017-06-08 15:45:41 +02:00
Yoichi Hirai
51fcfbcf3f
Merge pull request #2351 from AndreMiras/patch-1
...
Update installing-solidity.rst on Gentoo Linux
2017-06-08 11:48:10 +02:00
AndreMiras
997eb68956
Update installing-solidity.rst on Gentoo Linux
...
Gentoo Linux solidity install instructions.
2017-06-08 00:20:15 +02:00
Alex Beregszaszi
aa310f9fec
Refactor AssemblyStack
2017-06-07 14:42:22 +01:00
Alex Beregszaszi
502304f30b
Add analyze(block) to AssemblyStack
2017-06-07 14:42:22 +01:00
Alex Beregszaszi
937c208320
Reset error list in parseAndAnalyze
2017-06-07 14:41:44 +01:00