Fabcoin Core  0.16.2
P2P Digital Currency
Namespaces | Functions
JIT.cpp File Reference
#include "JIT.h"
#include <mutex>
#include "preprocessor/llvm_includes_start.h"
#include <llvm/IR/Module.h>
#include <llvm/ADT/StringSwitch.h>
#include <llvm/ADT/Triple.h>
#include <llvm/ExecutionEngine/MCJIT.h>
#include <llvm/ExecutionEngine/SectionMemoryManager.h>
#include <llvm/Support/TargetSelect.h>
#include <llvm/Support/Host.h>
#include <llvm/Support/CommandLine.h>
#include <llvm/Support/ManagedStatic.h>
#include "preprocessor/llvm_includes_end.h"
#include "Compiler.h"
#include "Optimizer.h"
#include "Cache.h"
#include "ExecStats.h"
#include "Utils.h"
#include "BuildInfo.gen.h"
Include dependency graph for JIT.cpp:

Go to the source code of this file.

Namespaces

 dev
 Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by RenĂ© Nyffenegger.
 
 dev::evmjit
 

Functions

EXPORT evm_factory dev::evmjit::evmjit_get_factory ()
 Get EVMJIT instance. More...
 

Variable Documentation

evm_call_fn callFn = nullptr

Definition at line 142 of file JIT.cpp.

std::unordered_map<std::string, ExecFunc> m_codeMap
private

Definition at line 112 of file JIT.cpp.

std::unique_ptr<llvm::ExecutionEngine> m_engine
private

Definition at line 110 of file JIT.cpp.

size_t m_printMemoryLimit = 1024 * 1024
private

Definition at line 197 of file JIT.cpp.

size_t m_totalMemorySize = 0
private

Definition at line 196 of file JIT.cpp.

evm_query_fn queryFn = nullptr

Definition at line 140 of file JIT.cpp.

evm_update_fn updateFn = nullptr

Definition at line 141 of file JIT.cpp.

std::mutex x_codeMap
mutableprivate

Definition at line 111 of file JIT.cpp.