Paweł Bylica
|
3beeb4226e
|
Some changes about final/stop block
|
10 years ago |
Paweł Bylica
|
2c44470e87
|
Removing unnecessary `dev` name prefixes
[#80021262]
|
10 years ago |
Paweł Bylica
|
91770a2e4d
|
Eliminating some `using namespace`
[#80021262]
|
10 years ago |
Paweł Bylica
|
e33be3bbdb
|
Change namespace from `evmcc` to `dev::eth::jit`
[#80021262]
|
10 years ago |
Paweł Bylica
|
c019b0394a
|
Macros grouping PUSH, DUP and SWAP switch cases
|
10 years ago |
Paweł Bylica
|
5a6d8b3d2f
|
Unused rt_exit() function removed
[#80660432]
|
10 years ago |
Paweł Bylica
|
2909cac50e
|
Working longjmp solution
[#80660432]
|
10 years ago |
artur-zawlocki
|
fc9b9f32c9
|
* codegen for CODECALL
* fixes for EXTCODECOPY
|
10 years ago |
artur-zawlocki
|
8e93171d3d
|
Codegen for EXTCODESIZE & EXTCODECOPY
[Delivers #80644732]
|
10 years ago |
Paweł Bylica
|
8498ab5695
|
Trying to implement "exceptions" with longjmp (does not work on Windows 64bit at least)
|
10 years ago |
Paweł Bylica
|
471586cc82
|
Use longjmp to return OutOfGas code from main function (WIP)
[#80660432]
|
10 years ago |
Paweł Bylica
|
70ad81dad2
|
Try to throw an OutOfGas exception when out of gas. The exception cannot be handled.
[#80660432]
|
10 years ago |
Paweł Bylica
|
1ffdda6705
|
Some LLVM function attribute fun
|
10 years ago |
Paweł Bylica
|
6313300746
|
Change a bit the implementation of GAS instruction (fix)
[Delivers #79942174]
|
10 years ago |
Paweł Bylica
|
31a07cb1b8
|
Change a bit the implementation of GAS instruction
[Delivers #79942174]
|
10 years ago |
Paweł Bylica
|
01b95883f2
|
Count gas cost for SSTORE instruction
[#79942174]
|
10 years ago |
artur-zawlocki
|
2e3e764fb5
|
Codegen for CODECOPY.
[Delivers #80644732]
|
10 years ago |
Paweł Bylica
|
52d3a3beb0
|
Prealloc memory and count gas for CALL instruction
[#79942174]
|
10 years ago |
Paweł Bylica
|
8267b453c7
|
Prealloc memory and count gas for SHA3 and CREATE instructions
[#79942174]
|
10 years ago |
artur-zawlocki
|
2b383751b4
|
Fixes in CALLDATACOPY
[Delivers #80644732]
|
10 years ago |
Paweł Bylica
|
54989e071f
|
InsertPointGuard helper class for IRBuilder
|
10 years ago |
artur-zawlocki
|
d005896a0b
|
Initial implementation for CALLDATACOPY
[Delivers #80644732]
|
10 years ago |
Paweł Bylica
|
07882137e3
|
Use mem.require in mload, mstore & mstore8
|
10 years ago |
Paweł Bylica
|
59000cd85d
|
Convenient Memory::require() overload
|
10 years ago |
Paweł Bylica
|
f0f5833c4c
|
Private mem.require function that preallocates memory and counts gas fee
|
10 years ago |
Paweł Bylica
|
2999de9f1a
|
Give back an amount of gas not used by CALL instructions
[#79942174]
|
10 years ago |
Paweł Bylica
|
c5c76cdf99
|
Count gas for CALL instructions
[#79942174]
|
10 years ago |
artur-zawlocki
|
a5c239ffc9
|
Fixes in inline asm in some jump tests.
|
10 years ago |
Paweł Bylica
|
05952064dc
|
Use Constant::get() interface to create LLVM constants
|
10 years ago |
Paweł Bylica
|
16023daf0b
|
Allocate memory and count gas for RETURN instruction
[#79942174]
|
10 years ago |
Paweł Bylica
|
f9f08d3223
|
Change the way compiled program returns
|
10 years ago |
Paweł Bylica
|
9c268561bd
|
Define constants and return codes
|
10 years ago |
artur-zawlocki
|
2031240485
|
Implemented ADDMOD, MULMOD and GAS [Delivers #80566276]
|
10 years ago |
artur-zawlocki
|
6eb64ddcda
|
Codegen for GAS
|
10 years ago |
Paweł Bylica
|
b56a815d2c
|
Report error if static-analysed stack is too small
|
10 years ago |
artur-zawlocki
|
86949720b1
|
test cases for JUMPS/phi nodes
|
10 years ago |
Paweł Bylica
|
0c708339e5
|
Do not check gas cost of value 0
[Delivers #80544260]
|
10 years ago |
Paweł Bylica
|
1de697df99
|
Do not commit gas costs on JUMPDEST instruction
[#80544260]
|
10 years ago |
Paweł Bylica
|
3ec44144e5
|
Change basic block linking order to get better results (still not perfect)
|
10 years ago |
artur-zawlocki
|
deb0957087
|
test cases for JUMP
|
10 years ago |
artur-zawlocki
|
1afcca2d0b
|
Implemented indirect JUMPI and fixes for JUMPs to invalid PCs
|
10 years ago |
artur-zawlocki
|
c968a3b594
|
test cases for JUMP(I)
|
10 years ago |
Paweł Bylica
|
c0a7d82b21
|
Always commit cost blocks
[#79942174]
|
10 years ago |
Paweł Bylica
|
f6eef07d37
|
Use external counter for gas (external linkage global variable)
[#79942174]
|
10 years ago |
Paweł Bylica
|
a03d47083e
|
Fix block cost counting (counter not reset)
|
10 years ago |
Paweł Bylica
|
48710b5e5c
|
Count gas for additional memory
[#79942174]
|
10 years ago |
Paweł Bylica
|
e1112c11c9
|
MSIZE test
|
10 years ago |
Paweł Bylica
|
7c157f68f6
|
Wrong resize condition fixed
[Delivers #80191662]
|
10 years ago |
Paweł Bylica
|
48ed393fb3
|
mload function added as implementation of MLOAD
[#80191662]
|
10 years ago |
Paweł Bylica
|
0400b47357
|
store8 function added as implementation of MSTORE8
[#80191662]
|
10 years ago |