Commit Graph

  • f233122943 Added dumping of CFG to a .dot file [Delivers #80816506] artur-zawlocki 2014-10-16 12:22:54 +01:00
  • c83739e9dc Get IR module from IR builder Paweł Bylica 2014-10-16 13:16:18 +02:00
  • 5e13d593be Introducing CompilerHelper - a base class for... compiler helper classes like Memory, GasMeter, etc. Paweł Bylica 2014-10-16 13:05:51 +02:00
  • 0a99719a39 mist: update for new ethlog.LogSystem interface (in ethereum/eth-go#59) Felix Lange 2014-10-16 12:07:16 +02:00
  • bb51b3476c Cleanup block terminator generation Paweł Bylica 2014-10-15 19:34:55 +02:00
  • 1463897efb Basic block compilation in separated function Paweł Bylica 2014-10-15 19:27:42 +02:00
  • e094ba9e67 Placing IRBuilder in Compiler class (for future refactoring) Paweł Bylica 2014-10-15 19:06:35 +02:00
  • 5586ff5bdc Some changes about final/stop block Paweł Bylica 2014-10-15 17:31:36 +02:00
  • 311c6f8a3f Fixed remote Arithmetic tests obscuren 2014-10-15 17:12:26 +02:00
  • 07f6bbffe5 Removing unnecessary dev name prefixes Paweł Bylica 2014-10-15 16:58:15 +02:00
  • 11bf67b2d8 Eliminating some using namespace Paweł Bylica 2014-10-15 16:49:29 +02:00
  • a2da7c91c8 Change namespace from evmcc to dev::eth::jit Paweł Bylica 2014-10-15 16:29:13 +02:00
  • f1ea6c9257 Macros grouping PUSH, DUP and SWAP switch cases Paweł Bylica 2014-10-15 15:35:26 +02:00
  • a36a432e5f Merge branch 'develop-evmcc' of https://github.com/imapp-pl/ethereum into develop-evmcc Paweł Bylica 2014-10-15 15:18:10 +02:00
  • 67ee0b6113 Unused rt_exit() function removed Paweł Bylica 2014-10-15 15:12:24 +02:00
  • ec2013d5c9 Working longjmp solution Paweł Bylica 2014-10-15 15:07:31 +02:00
  • 00a872ec98 * codegen for CODECALL * fixes for EXTCODECOPY artur-zawlocki 2014-10-15 13:40:04 +01:00
  • 78a78e2e6c updated genesis_hash Christoph Jentzsch 2014-10-15 14:19:11 +02:00
  • 59a392c1c2 Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-15 10:33:46 +01:00
  • 564a593bbe Codegen for EXTCODESIZE & EXTCODECOPY [Delivers #80644732] artur-zawlocki 2014-10-15 10:32:37 +01:00
  • 9007b74118 Merge branch 'develop-evmcc' of https://github.com/imapp-pl/ethereum into develop-evmcc Paweł Bylica 2014-10-15 11:11:18 +02:00
  • 7fcf24d3ac Trying to implement "exceptions" with longjmp (does not work on Windows 64bit at least) Paweł Bylica 2014-10-15 11:11:07 +02:00
  • 7227552f42 Fix ethereum compilation and functioning on Windows. repl console output is now colored. repl "exit" command now works. Erez Wanderman 2014-10-15 02:41:26 +03:00
  • 266d212094 Working on test suite obscuren 2014-10-15 00:41:00 +02:00
  • 3d177be73e Couple of minor issues fixed obscuren 2014-10-15 00:40:41 +02:00
  • 727691f83a Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-14 22:35:59 +01:00
  • e22238f148 Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-14 22:34:06 +01:00
  • c57de781e4 Use longjmp to return OutOfGas code from main function (WIP) Paweł Bylica 2014-10-14 20:49:48 +02:00
  • dbb3e81bdf Try to throw an OutOfGas exception when out of gas. The exception cannot be handled. Paweł Bylica 2014-10-14 20:15:43 +02:00
  • 0aea5fc4a3 adapt to new event package Felix Lange 2014-10-14 19:38:38 +02:00
  • 04d6ffb178 Some LLVM function attribute fun Paweł Bylica 2014-10-14 19:17:54 +02:00
  • e11a9bb61b Change a bit the implementation of GAS instruction (fix) Paweł Bylica 2014-10-14 19:03:04 +02:00
  • 00e5afc1a5 Change a bit the implementation of GAS instruction Paweł Bylica 2014-10-14 18:26:47 +02:00
  • 0d679f0c73 Count gas cost for SSTORE instruction Paweł Bylica 2014-10-14 18:22:30 +02:00
  • df932921dc Codegen for CODECOPY. [Delivers #80644732] artur-zawlocki 2014-10-14 16:06:34 +01:00
  • 1c70f3d099 Prealloc memory and count gas for CALL instruction Paweł Bylica 2014-10-14 16:52:53 +02:00
  • d56f60f768 Merge branch 'develop-evmcc' of https://github.com/imapp-pl/ethereum into develop-evmcc Paweł Bylica 2014-10-14 16:28:53 +02:00
  • 7d674765a4 Prealloc memory and count gas for SHA3 and CREATE instructions Paweł Bylica 2014-10-14 16:28:38 +02:00
  • 42b14ae334 Fixes in CALLDATACOPY [Delivers #80644732] artur-zawlocki 2014-10-14 15:19:18 +01:00
  • 9d9e1600a3 InsertPointGuard helper class for IRBuilder Paweł Bylica 2014-10-14 16:11:39 +02:00
  • 720312004d Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-14 14:53:17 +01:00
  • 0d9740514a Initial implementation for CALLDATACOPY [Delivers #80644732] artur-zawlocki 2014-10-14 14:52:15 +01:00
  • 82cba7a346 Use mem.require in mload, mstore & mstore8 Paweł Bylica 2014-10-14 15:48:27 +02:00
  • 7ca7938d8e Removed old installer script obscuren 2014-10-14 15:31:25 +02:00
  • 0931289287 Convenient Memory::require() overload Paweł Bylica 2014-10-14 15:19:27 +02:00
  • ab556c638a Private mem.require function that preallocates memory and counts gas fee Paweł Bylica 2014-10-14 15:12:11 +02:00
  • 01ca987093 Give back an amount of gas not used by CALL instructions Paweł Bylica 2014-10-14 14:29:19 +02:00
  • f55e39cf1a Tests for native function calling obscuren 2014-10-14 13:37:26 +02:00
  • fb87a0b2ab Count gas for CALL instructions Paweł Bylica 2014-10-14 13:27:45 +02:00
  • 393a92811b Changed VM Test code obscuren 2014-10-14 12:21:46 +02:00
  • 294b437414 New VM obscuren 2014-10-14 11:49:15 +02:00
  • c5bd32b0ad Refactored VM to two separate VMs; std & debug obscuren 2014-10-14 11:48:52 +02:00
  • b315da618b Merge pull request #23 from ethers/fix22 Christoph Jentzsch 2014-10-14 10:33:26 +02:00
  • 07131e4e18 Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-14 09:29:18 +01:00
  • 475b85d959 Fixes in inline asm in some jump tests. artur-zawlocki 2014-10-14 09:24:33 +01:00
  • 03e082d4ac Merge branch 'master' into develop obscuren 2014-10-14 09:47:38 +02:00
  • db6f4ab1cc Merge branch 'master' into develop obscuren 2014-10-14 09:47:19 +02:00
  • 0a76a3a312 numbers should be strings #22 ethers 2014-10-13 14:45:30 -07:00
  • 7494fdba7a Use Constant::get() interface to create LLVM constants Paweł Bylica 2014-10-13 19:14:33 +02:00
  • f95999c6b3 Allocate memory and count gas for RETURN instruction Paweł Bylica 2014-10-13 19:09:42 +02:00
  • 7a89751433 Change the way compiled program returns Paweł Bylica 2014-10-13 18:44:06 +02:00
  • 8fb6de09e4 Define constants and return codes Paweł Bylica 2014-10-13 18:43:33 +02:00
  • 6caff31697 Implemented ADDMOD, MULMOD and GAS [Delivers #80566276] artur-zawlocki 2014-10-13 17:22:56 +01:00
  • 9b3c446578 Codegen for GAS artur-zawlocki 2014-10-13 16:57:13 +01:00
  • 3a2596960b Report error if static-analysed stack is too small Paweł Bylica 2014-10-13 17:39:27 +02:00
  • 0c259cd267 Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-13 15:41:18 +01:00
  • a2a496ebce test cases for JUMPS/phi nodes artur-zawlocki 2014-10-13 15:37:40 +01:00
  • 6131cca6ed Merge branch 'develop-evmcc' of https://github.com/imapp-pl/ethereum into develop-evmcc Paweł Bylica 2014-10-13 16:33:56 +02:00
  • 8a522834f0 Do not check gas cost of value 0 Paweł Bylica 2014-10-13 16:33:51 +02:00
  • efe23ad7b8 Do not commit gas costs on JUMPDEST instruction Paweł Bylica 2014-10-13 16:32:52 +02:00
  • 7c78ecbdb2 Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-13 15:21:43 +01:00
  • 293f0de7a9 Merge branch 'develop-evmcc' of https://github.com/imapp-pl/ethereum into develop-evmcc Paweł Bylica 2014-10-13 16:05:23 +02:00
  • 9bdfd59b6f Change basic block linking order to get better results (still not perfect) Paweł Bylica 2014-10-13 16:05:06 +02:00
  • 56a17a0f2e test cases for JUMP artur-zawlocki 2014-10-13 14:46:21 +01:00
  • e4cf741cfb Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc artur-zawlocki 2014-10-13 13:46:10 +01:00
  • 6e2bcefaca Implemented indirect JUMPI and fixes for JUMPs to invalid PCs artur-zawlocki 2014-10-13 13:34:25 +01:00
  • 2c3d0cc375 test cases for JUMP(I) artur-zawlocki 2014-10-13 13:33:04 +01:00
  • 1644b1e53e Merge pull request #137 from caktux/master Jeffrey Wilcke 2014-10-13 12:57:50 +02:00
  • d5f7de4a2e Always commit cost blocks Paweł Bylica 2014-10-13 12:50:23 +02:00
  • 39ba3ae1d9 Use external counter for gas (external linkage global variable) Paweł Bylica 2014-10-13 12:33:41 +02:00
  • 4eb65a8b2c Fix block cost counting (counter not reset) Paweł Bylica 2014-10-13 11:35:46 +02:00
  • 5470faf9ec Count gas for additional memory Paweł Bylica 2014-10-13 10:57:12 +02:00
  • d6e6a5f558 MSIZE test Paweł Bylica 2014-10-13 10:04:48 +02:00
  • 0128f09065 Wrong resize condition fixed Paweł Bylica 2014-10-13 09:12:22 +02:00
  • cfd1f0907f build status caktux 2014-10-12 02:15:15 -04:00
  • 1f67385f13 Added some MUL tests Christoph Jentzsch 2014-10-11 13:18:00 +02:00
  • 7a7e198395 Added some MUL tests Christoph Jentzsch 2014-10-11 13:11:59 +02:00
  • 46eb6283ae tested new opcodes (JUMPDEST,CALLCODE) and created test for CALL/CREATE depth Christoph Jentzsch 2014-10-11 12:18:13 +02:00
  • 2e894b668a Max callstack obscuren 2014-10-11 00:41:37 +02:00
  • 8128190fb2 Merge pull request #136 from fjl/feature/raceless-ethereum-filters Jeffrey Wilcke 2014-10-10 22:59:11 +02:00
  • cb845b9bc8 Implemented AR PoW obscuren 2014-10-10 22:44:20 +02:00
  • 56843ca0fc Added some methods to comply to the PoW block interface obscuren 2014-10-10 22:42:37 +02:00
  • 4f871447a3 mload function added as implementation of MLOAD Paweł Bylica 2014-10-10 20:10:09 +02:00
  • 5f1ea8f832 store8 function added as implementation of MSTORE8 Paweł Bylica 2014-10-10 19:43:07 +02:00
  • f5a0975b4a Use mem.store as implementation of MSTORE Paweł Bylica 2014-10-10 19:06:40 +02:00
  • f825a6020f Generate mem.store function and dependencies (currently unused) Paweł Bylica 2014-10-10 18:56:59 +02:00
  • 8d38d62d10 INVALID stops the operation and doesn't cost gas Nick Savers 2014-10-10 18:09:41 +02:00
  • 7a7d4e33e0 Fix for finding jumpTableBlock Paweł Bylica 2014-10-10 17:23:34 +02:00
  • d6915b4d0b Renames & comments Paweł Bylica 2014-10-10 17:17:45 +02:00
  • e02c0fa808 Added generic big to 256 method. Implemented new iterator obscuren 2014-10-10 17:00:06 +02:00