Paweł Bylica
1297542642
Remove external jmpBuf pointer
10 years ago
Paweł Bylica
32515a77d3
Extract gas pointer from RuntimeData
10 years ago
Paweł Bylica
cb06501606
Pass jmpbuf as mem.require argument
10 years ago
Paweł Bylica
d2c82bf9c9
Update gas.check helper function: Runtime pointer not needed
10 years ago
Paweł Bylica
d5d56657cf
Move Array helper to separated compilation unit
10 years ago
Paweł Bylica
0c03100b8b
Correct and tested EVM JIT to Interpreter fallback in case of high gas limit
10 years ago
Paweł Bylica
4207d46ba8
Unused class removed
10 years ago
Paweł Bylica
2722632663
Move old VM jump tests from EVM JIT to JSON file
10 years ago
Paweł Bylica
ae84a09507
Move old VM stack tests from EVM JIT to JSON file
10 years ago
Paweł Bylica
d92bd3ff49
Move old VM return tests from EVM JIT to JSON file
10 years ago
Paweł Bylica
c497cbe89e
Move old VM memory tests from EVM JIT to JSON file
10 years ago
Paweł Bylica
d92e2bf83f
Move old VM environmental test from EVM JIT to JSON file
10 years ago
Paweł Bylica
0989a7d09a
Move old VM arithmetic tests from EVM JIT to JSON file
10 years ago
Paweł Bylica
b2982d6374
Reimplement no-op version of DLOG to avoid C++ compiler warning
10 years ago
Paweł Bylica
4c0631ad8f
Disable sign-conversion warnings (clang)
10 years ago
Paweł Bylica
29ba066971
Fix logging on GCC, release variant added
10 years ago
Paweł Bylica
7d7e6ec7f5
Using logs utils from LLVM
10 years ago
Paweł Bylica
ba27591cd5
Typo fix
10 years ago
Paweł Bylica
14bcb21373
Fixing EVMJIT build on Mac OS
10 years ago
Paweł Bylica
681ba24d33
Free memory allocated for dynamic stack
10 years ago
Gav Wood
e185d9a117
Add EVMJIT.
10 years ago
Gav Wood
4323c987b7
cppcheck fixes.
10 years ago
Paweł Bylica
cd1dea3594
Global/dynamic stack implementation with realloc
10 years ago
Paweł Bylica
1e81754a33
Stack improvements: all helper functions are generated on demand, no global alloca for arguments
10 years ago
Paweł Bylica
fe0517cf6d
Workaround for printing extractvalue instruction in DOT language
10 years ago
Paweł Bylica
1ea5eb4105
Destroy LLVM ManagedStatics
10 years ago
Paweł Bylica
7512299398
Use llvm/CommandLine library for JIT options
10 years ago
Paweł Bylica
5e0e0097f0
Get endianess from LLVM
10 years ago
Paweł Bylica
1d5d10e020
Testing some LLVM optimization passes
10 years ago
Paweł Bylica
e5519d00d8
Optimizer: separate LLVM IR optimization passes from compiler
10 years ago
Gav Wood
b9e4bbbc14
Compile warning fix.
10 years ago
Paweł Bylica
e15859ed27
Windows fixes
10 years ago
Paweł Bylica
f2f998f6fc
Build fix
10 years ago
Paweł Bylica
833643ed77
Safe assert
10 years ago
Paweł Bylica
a61449359b
Fix/disable warnings in CPP bridge
10 years ago
Paweł Bylica
c95c1c81f4
Cleanup ExecutionEngine creation
10 years ago
Paweł Bylica
89db6f0696
Fix wrong prerelease version component parsing
10 years ago
Paweł Bylica
3aa2f066dd
Workaround for buggy LLVM shl operator for i512
10 years ago
Paweł Bylica
8b8d9d1df0
Helper function name fix
10 years ago
Paweł Bylica
5f4bda5cef
Correct usage of LLVM builtin setjmp/longjmp. External setjmp was eliminated, hopefully Windows will be happier now.
10 years ago
Paweł Bylica
7b4892c916
Dynamic stack modification: do not use longjmp in external functions
10 years ago
Lu Guanqun
77a15f749f
change typedef to using according to preferred coding style
10 years ago
Paweł Bylica
3365f3f438
#include cleanups
10 years ago
Paweł Bylica
33205fb9c9
Place warning pragmas for LLVM includes in separated files
10 years ago
Paweł Bylica
cbc1c99beb
Add `unreachable` instruction to fake module generated by Cache
10 years ago
Lu Guanqun
c0358e1f5f
fix Mac build error for evmjit
We need to include <iostream>, otherwise it complains:
cpp-ethereum/evmjit/libevmjit/ExecutionEngine.cpp:147:2:
error: implicit instantiation of undefined template
'std::__1::basic_ostream<char, std::__1::char_traits<char> >'
clog(JIT) << " + " << std::chrono::duration_cast<std::chrono::milliseconds>(executionEndTime - executionStartTime).cou...
^
cpp-ethereum/evmjit/libevmjit/Utils.h:15:23: note:
expanded from macro 'clog' #define clog(CHANNEL) std::ostream(nullptr)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iosfwd:111:33: note:
template is declared here
class _LIBCPP_TYPE_VIS_ONLY basic_ostream;
^
10 years ago
Paweł Bylica
ddf4724ce1
Fix cache bug: code was always compiled
10 years ago
Paweł Bylica
f203843114
Stats for execution states times
10 years ago
Paweł Bylica
4c58e6ffa5
Create memory helper functions on demand
10 years ago
Paweł Bylica
99b7607ae2
Use code (and code size) as constants
10 years ago