Commit Graph

70 Commits

Author SHA1 Message Date
chriseth
1b1b6651cd Fix sequence number bug.
This bug resulted in incorrect storage access in some situations.
The reason was that when intersecting states, the sequence numbers
were not handled and thus some operations with too low
sequence numbers were used during code generation.
2016-01-15 16:34:56 +01:00
Gav Wood
6e98243ead EIP-2.1 Fixes #96.
Address a few concerns from prior code review.
2015-11-21 14:33:55 +01:00
chriseth
5caad351f8 Work around bug in u256->unsigned conversion for MSVC/Boost. 2015-11-16 11:48:38 +01:00
chriseth
b4c46201ef Add non-const sub function. 2015-10-06 17:44:39 +02:00
chriseth
4b77b09148 Create version string. 2015-09-22 12:54:49 +02:00
Gav Wood
724ef6757d Workaround bug in boost. 2015-09-13 17:49:26 +02:00
chriseth
129b4142d8 Transition from bytecode to more general linker objects. 2015-09-10 19:31:15 +02:00
debris
3ca3fb492d applied changes from https://github.com/ethereum/cpp-ethereum/pull/2953 2015-09-08 17:11:02 +02:00
debris
aea7e04bf4 split pr changes 2015-09-07 14:32:06 +02:00
debris
fd23ee97d8 cmake refactor in progress 2015-08-27 12:19:33 +02:00
chriseth
34986ee4fc Detect unavailable items and do not optimise the chunk in that case. 2015-08-18 21:22:43 +02:00
Gav Wood
8fbecb9c27 libevmasm doesn't use libdevcrypto. 2015-08-17 15:09:42 +02:00
Gav Wood
09fe2c098c Style fixes. 2015-08-10 20:31:22 +02:00
Liana Husikyan
8b433edc4e added checks to prevent the self assignment 2015-08-10 17:55:31 +02:00
Gav Wood
090e581fe8 GCC compile fix. 2015-08-06 15:56:00 +02:00
Gav Wood
7d54d746ee Warnings fixes. 2015-08-06 15:27:50 +02:00
debris
ba00ce457a now policy CMP0042 is set to OLD
This reverts commit 61e99b1040b80685c70c57cfb23f92e898cd41fb.
2015-08-05 23:51:52 +02:00
Gav Wood
1ea338a852 Revert "fixed cmake policy CMP0042, MACOSX RPATH" 2015-08-05 17:57:22 +02:00
debris
c8954e1e7c fixed cmake policy CMP0042, MACOSX RPATH 2015-08-05 11:35:05 +02:00
chriseth
0f06fd8c2f Fixed counter modification when appending assemblies. 2015-06-25 18:41:46 +02:00
chriseth
66a85f0229 Some documentation and checks for vector_ref. 2015-06-16 16:09:20 +02:00
chriseth
64a1e82b6c Optimize RETURN x 0 to STOP. 2015-06-12 11:31:03 +02:00
chriseth
a72e357c4e Improved exception safety in CSE.
Fixes #2135
2015-06-10 09:58:59 +02:00
Gav Wood
6cc76baeac Merge pull request #2112 from chfast/refactor_move_override
Pessimising moves and missing overrides
2015-06-09 23:18:10 +09:00
Paweł Bylica
87a56b2bfe Remove pessimising moves. 2015-06-08 12:09:24 +02:00
chriseth
27ac4d6d6f Merge pull request #2100 from chriseth/sol_stackTooDeep
Improved "Stack too deep" error message.
2015-06-08 11:52:01 +02:00
chriseth
13a20d8372 Improved "Stack too deep" error message.
Closes #2080.
2015-06-07 12:51:15 +02:00
Gav Wood
dc462dcb6e Merge pull request #2103 from chriseth/sol_fix_sequenceError
Invalid sequence access.
2015-06-07 14:19:51 +09:00
chriseth
55e1729852 Quick fix to not access inaccessible sequences. 2015-06-06 15:39:14 +02:00
chriseth
7bdd1b1d4a Optimize double ISZERO. 2015-06-06 12:42:36 +02:00
chriseth
cad767de61 Remove namespace prefixes. 2015-06-05 17:35:51 +02:00
chriseth
81ed5612bc MSVC fix. 2015-06-05 17:34:26 +02:00
chriseth
88096c2c69 Compute constants 2015-06-05 17:34:26 +02:00
chriseth
d309c3c768 Merge pull request #1975 from LianaHus/sol_EVMExceptions
"error jump" instead of STOP instraction in case of exception
2015-06-01 17:45:55 +02:00
Liana Husikyan
da4cd45a85 corrected asm-json output 2015-06-01 13:06:12 +02:00
Liana Husikyan
735535d960 style fixes 2015-06-01 13:06:12 +02:00
Liana Husikyan
25205cb05b added error jump instead of STOP instraction in case of exception 2015-06-01 13:06:12 +02:00
chriseth
beab869e14 Allow duplicate code removal for loops. 2015-05-28 14:48:07 +02:00
chriseth
7f55e26eb8 Removed redundant std. 2015-05-26 11:31:04 +02:00
chriseth
06890e5428 Commandline interface for gas estimation. 2015-05-22 16:12:40 +02:00
chriseth
dadde12178 Tighter estimation for EXP. 2015-05-22 16:12:40 +02:00
chriseth
2414a23168 Functional gas estimator. 2015-05-22 16:12:40 +02:00
chriseth
cd28fb8faa Path gas meter. 2015-05-22 16:12:40 +02:00
chriseth
d015945a1d Gas estimation taking known state into account. 2015-05-20 00:28:15 +02:00
Gav Wood
3ecd54a835 Move non-cryptopp dependent stuff into devcore. 2015-05-19 19:51:38 +02:00
chriseth
e50070035f Hex/decimal cleanup for assembly output. 2015-05-15 15:37:19 +02:00
chriseth
b124878c53 Fixed indentation. 2015-05-13 19:13:03 +02:00
chriseth
cebc959ff3 Known state: store tags on stack as unions. 2015-05-13 17:15:32 +02:00
Gav Wood
2654daab26 Revert "CMake: set default RUNTIME_OUTPUT_DIRECTORY property to "bin"" 2015-05-13 11:45:18 +03:00
Gav Wood
0dc7c96307 Merge pull request #1873 from chriseth/sol_unifyBlocks
Unify blocks that share code.
2015-05-13 00:58:55 +03:00