Paweł Bylica
4d2dc802e8
Introducing CHECK macro - an assert that always has a value
10 years ago
Paweł Bylica
4bcee00be9
#include cleanups
10 years ago
Lu Guanqun
699ab0045c
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
25d8873440
Merge commit '3dcf30463b961e3fe47b48b2024bbf3d5b5ce675' into evmjit
Conflicts:
evmjit/CMakeLists.txt
evmjit/libevmjit-cpp/CMakeLists.txt
evmjit/libevmjit-cpp/Env.cpp
evmjit/libevmjit-cpp/JitVM.cpp
evmjit/libevmjit/Arith256.cpp
evmjit/libevmjit/BasicBlock.cpp
evmjit/libevmjit/BasicBlock.h
evmjit/libevmjit/CMakeLists.txt
evmjit/libevmjit/Cache.cpp
evmjit/libevmjit/Common.h
evmjit/libevmjit/Compiler.cpp
evmjit/libevmjit/ExecutionEngine.cpp
evmjit/libevmjit/ExecutionEngine.h
evmjit/libevmjit/Ext.cpp
evmjit/libevmjit/Ext.h
evmjit/libevmjit/Runtime.cpp
evmjit/libevmjit/Runtime.h
evmjit/libevmjit/RuntimeData.h
evmjit/libevmjit/Utils.cpp
evmjit/libevmjit/Utils.h
evmjit/libevmjit/interface.cpp
10 years ago
Paweł Bylica
a21362a7f8
Removing boost dependency from libevmjit
10 years ago
Paweł Bylica
86553cda81
Remove terminate() function
10 years ago
Paweł Bylica
70279f8679
Changes in setjmps
10 years ago
Paweł Bylica
70348d9586
Fix cache key and do not compile to LLVM module when it is not needed
10 years ago
Paweł Bylica
b3a17341e4
Disable JIT logs
10 years ago
Paweł Bylica
2fd2446330
Simplify ExecutionEngine interface. It is possible to pass raw code instead of LLVM module.
10 years ago
Paweł Bylica
cc6bb83fc6
Simplify JIT logs
10 years ago
Paweł Bylica
68648a2fb5
Separating EVM JIT from CPP client (WIP)
10 years ago
Paweł Bylica
86334f5eff
Handle bytecode as bytes
10 years ago
Paweł Bylica
2bd4d6cd07
Update Instruction.h location
10 years ago
Paweł Bylica
1008c70a14
Create dedicated function for pushdata reading
10 years ago
Paweł Bylica
887bac9524
Use clog for JIT logs
10 years ago
Paweł Bylica
7df24fad4a
Move JIT compiler project to library
10 years ago
Paweł Bylica
72a6fe4b60
InsertPointGuard definition moved to CompilerHelper.h
10 years ago
Paweł Bylica
07f6bbffe5
Removing unnecessary `dev` name prefixes
[#80021262 ]
10 years ago
Paweł Bylica
a2da7c91c8
Change namespace from `evmcc` to `dev::eth::jit`
[#80021262 ]
10 years ago
Paweł Bylica
f1ea6c9257
Macros grouping PUSH, DUP and SWAP switch cases
10 years ago
Paweł Bylica
9d9e1600a3
InsertPointGuard helper class for IRBuilder
10 years ago
Paweł Bylica
b9cda13a9a
Push call data on stack - CALLDATALOAD
10 years ago
Paweł Bylica
8cd4326db8
Set/get values in Ext store - SSTORE & SLOAD
10 years ago