aboutsummaryrefslogtreecommitdiffstats
path: root/liblll/CompilerState.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support shl/shr in LLLAlex Beregszaszi2017-06-141-0/+3
|
* LLL: fix handling of "sha3" expressionbenjaminion2017-06-141-1/+1
| | | | | | When PR #2317 changed the EVM opcode from SHA3 to KECCAK256 it broke the `(sha3 loc len)` expression in LLL. This PR fixes things while allowing existing code using the sha3 expression (such as the ENS registrar) to continue to compile. I.e. both `(keccak256 loc len)` and `(sha3 loc len)` may be used, and the existing related sha3 macros continue to work. Three end-to-end test cases have been added for kekkac256 and sha3.
* Change opcode generated by (panic) to INVALIDbenjaminion2017-06-141-0/+1
| | | | | | 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.
* Replace cpp-ethereum with solidity in the license headersAlex Beregszaszi2017-02-021-4/+4
|
* LLL: add Ethereum subunit macrosAlex Beregszaszi2016-10-151-0/+4
|
* Removed obsolete built in macros. Added a new macro to support the use of ↵Daniel Ellison2016-10-131-9/+1
| | | | 'keccak256' in addition to 'sha3'.
* move liblllDimitry2016-03-211-0/+82