155 Commits (8eea4752b2b21d22ef89c90fb3e1253935e89212)

Author SHA1 Message Date
Paweł Bylica 8eea4752b2 Get IR module from IR builder on demand 10 years ago
Paweł Bylica c83739e9dc Get IR module from IR builder 10 years ago
Paweł Bylica 5e13d593be Introducing CompilerHelper - a base class for... compiler helper classes like Memory, GasMeter, etc. 10 years ago
Paweł Bylica bb51b3476c Cleanup block terminator generation 10 years ago
Paweł Bylica 1463897efb Basic block compilation in separated function 10 years ago
Paweł Bylica e094ba9e67 Placing IRBuilder in Compiler class (for future refactoring) 10 years ago
Paweł Bylica 5586ff5bdc Some changes about final/stop block 10 years ago
Paweł Bylica 07f6bbffe5 Removing unnecessary `dev` name prefixes 10 years ago
Paweł Bylica 11bf67b2d8 Eliminating some `using namespace` 10 years ago
Paweł Bylica a2da7c91c8 Change namespace from `evmcc` to `dev::eth::jit` 10 years ago
Paweł Bylica f1ea6c9257 Macros grouping PUSH, DUP and SWAP switch cases 10 years ago
Paweł Bylica 67ee0b6113 Unused rt_exit() function removed 10 years ago
Paweł Bylica ec2013d5c9 Working longjmp solution 10 years ago
artur-zawlocki 00a872ec98 * codegen for CODECALL 10 years ago
artur-zawlocki 564a593bbe Codegen for EXTCODESIZE & EXTCODECOPY 10 years ago
Paweł Bylica 7fcf24d3ac Trying to implement "exceptions" with longjmp (does not work on Windows 64bit at least) 10 years ago
Paweł Bylica c57de781e4 Use longjmp to return OutOfGas code from main function (WIP) 10 years ago
Paweł Bylica dbb3e81bdf Try to throw an OutOfGas exception when out of gas. The exception cannot be handled. 10 years ago
Paweł Bylica 04d6ffb178 Some LLVM function attribute fun 10 years ago
Paweł Bylica e11a9bb61b Change a bit the implementation of GAS instruction (fix) 10 years ago
Paweł Bylica 00e5afc1a5 Change a bit the implementation of GAS instruction 10 years ago
Paweł Bylica 0d679f0c73 Count gas cost for SSTORE instruction 10 years ago
artur-zawlocki df932921dc Codegen for CODECOPY. 10 years ago
Paweł Bylica 1c70f3d099 Prealloc memory and count gas for CALL instruction 10 years ago
Paweł Bylica 7d674765a4 Prealloc memory and count gas for SHA3 and CREATE instructions 10 years ago
artur-zawlocki 42b14ae334 Fixes in CALLDATACOPY 10 years ago
Paweł Bylica 9d9e1600a3 InsertPointGuard helper class for IRBuilder 10 years ago
artur-zawlocki 0d9740514a Initial implementation for CALLDATACOPY 10 years ago
Paweł Bylica 82cba7a346 Use mem.require in mload, mstore & mstore8 10 years ago
Paweł Bylica 0931289287 Convenient Memory::require() overload 10 years ago
Paweł Bylica ab556c638a Private mem.require function that preallocates memory and counts gas fee 10 years ago
Paweł Bylica 01ca987093 Give back an amount of gas not used by CALL instructions 10 years ago
Paweł Bylica fb87a0b2ab Count gas for CALL instructions 10 years ago
artur-zawlocki 475b85d959 Fixes in inline asm in some jump tests. 10 years ago
Paweł Bylica 7494fdba7a Use Constant::get() interface to create LLVM constants 10 years ago
Paweł Bylica f95999c6b3 Allocate memory and count gas for RETURN instruction 10 years ago
Paweł Bylica 7a89751433 Change the way compiled program returns 10 years ago
Paweł Bylica 8fb6de09e4 Define constants and return codes 10 years ago
artur-zawlocki 6caff31697 Implemented ADDMOD, MULMOD and GAS [Delivers #80566276] 10 years ago
artur-zawlocki 9b3c446578 Codegen for GAS 10 years ago
Paweł Bylica 3a2596960b Report error if static-analysed stack is too small 10 years ago
artur-zawlocki a2a496ebce test cases for JUMPS/phi nodes 10 years ago
Paweł Bylica 8a522834f0 Do not check gas cost of value 0 10 years ago
Paweł Bylica efe23ad7b8 Do not commit gas costs on JUMPDEST instruction 10 years ago
Paweł Bylica 9bdfd59b6f Change basic block linking order to get better results (still not perfect) 10 years ago
artur-zawlocki 56a17a0f2e test cases for JUMP 10 years ago
artur-zawlocki 6e2bcefaca Implemented indirect JUMPI and fixes for JUMPs to invalid PCs 10 years ago
artur-zawlocki 2c3d0cc375 test cases for JUMP(I) 10 years ago
Paweł Bylica d5f7de4a2e Always commit cost blocks 10 years ago
Paweł Bylica 39ba3ae1d9 Use external counter for gas (external linkage global variable) 10 years ago