135 Commits (727691f83a917ac53dd5f7194bc23bd85591d3f5)

Author SHA1 Message Date
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
Paweł Bylica 4eb65a8b2c Fix block cost counting (counter not reset) 10 years ago
Paweł Bylica 5470faf9ec Count gas for additional memory 10 years ago
Paweł Bylica d6e6a5f558 MSIZE test 10 years ago
Paweł Bylica 0128f09065 Wrong resize condition fixed 10 years ago
Paweł Bylica 4f871447a3 mload function added as implementation of MLOAD 10 years ago
Paweł Bylica 5f1ea8f832 store8 function added as implementation of MSTORE8 10 years ago
Paweł Bylica f5a0975b4a Use mem.store as implementation of MSTORE 10 years ago
Paweł Bylica f825a6020f Generate mem.store function and dependencies (currently unused) 10 years ago
Paweł Bylica 7a7d4e33e0 Fix for finding jumpTableBlock 10 years ago
Paweł Bylica d6915b4d0b Renames & comments 10 years ago
artur-zawlocki fd7069e9af Indirect jump: jump table generated in separate bblock. 10 years ago
Paweł Bylica 09a5899adc Fix stack swap or dup not generating PHI nodes 10 years ago
artur-zawlocki 52d1ceb198 test cases for jumps 10 years ago
Paweł Bylica cfb226ba5f Group gas counting into block of instructions called cost-block. 10 years ago
artur-zawlocki 67789404b0 test cases for JUMP 10 years ago
artur-zawlocki 2b36803c96 Implementing JUMP/JUMPDEST (work in progress) 10 years ago
Paweł Bylica e42217d5bc Disable gas checking for now (does not work and makes IR code hard to read) 10 years ago