Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
dev::evmjit::ExecutionContext Class Reference

#include <JIT.h>

Collaboration diagram for dev::evmjit::ExecutionContext:
[legend]

Public Member Functions

 ExecutionContext ()=default
 
 ExecutionContext (RuntimeData &_data, evm_env *_env)
 
 ExecutionContext (ExecutionContext const &)=delete
 
ExecutionContextoperator= (ExecutionContext const &)=delete
 
 ~ExecutionContext () noexcept
 
void init (RuntimeData &_data, evm_env *_env)
 
byte const * code () const
 
uint64_t codeSize () const
 
bytes_ref getReturnData () const
 

Public Attributes

RuntimeDatam_data = nullptr
 Pointer to data. Expected by compiled contract. More...
 
evm_env * m_env = nullptr
 Pointer to environment proxy. Expected by compiled contract. More...
 
bytem_memData = nullptr
 
uint64_t m_memSize = 0
 
uint64_t m_memCap = 0
 
bytes_ref returnData
 Reference to returned data (RETURN opcode used) More...
 

Detailed Description

Definition at line 101 of file JIT.h.

Constructor & Destructor Documentation

dev::evmjit::ExecutionContext::ExecutionContext ( )
default
dev::evmjit::ExecutionContext::ExecutionContext ( RuntimeData _data,
evm_env *  _env 
)
inline

Definition at line 105 of file JIT.h.

dev::evmjit::ExecutionContext::ExecutionContext ( ExecutionContext const &  )
delete
dev::evmjit::ExecutionContext::~ExecutionContext ( )
noexcept

Definition at line 249 of file JIT.cpp.

Member Function Documentation

byte const* dev::evmjit::ExecutionContext::code ( ) const
inline

Definition at line 112 of file JIT.h.

uint64_t dev::evmjit::ExecutionContext::codeSize ( ) const
inline

Definition at line 113 of file JIT.h.

bytes_ref dev::evmjit::ExecutionContext::getReturnData ( ) const

Definition at line 255 of file JIT.cpp.

Here is the call graph for this function:

void dev::evmjit::ExecutionContext::init ( RuntimeData _data,
evm_env *  _env 
)
inline

Definition at line 110 of file JIT.h.

ExecutionContext& dev::evmjit::ExecutionContext::operator= ( ExecutionContext const &  )
delete

Member Data Documentation

RuntimeData* dev::evmjit::ExecutionContext::m_data = nullptr

Pointer to data. Expected by compiled contract.

Definition at line 118 of file JIT.h.

evm_env* dev::evmjit::ExecutionContext::m_env = nullptr

Pointer to environment proxy. Expected by compiled contract.

Definition at line 119 of file JIT.h.

uint64_t dev::evmjit::ExecutionContext::m_memCap = 0

Definition at line 122 of file JIT.h.

byte* dev::evmjit::ExecutionContext::m_memData = nullptr

Definition at line 120 of file JIT.h.

uint64_t dev::evmjit::ExecutionContext::m_memSize = 0

Definition at line 121 of file JIT.h.

bytes_ref dev::evmjit::ExecutionContext::returnData

Reference to returned data (RETURN opcode used)

Definition at line 126 of file JIT.h.


The documentation for this class was generated from the following files: