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

#include <Cache.h>

Inheritance diagram for dev::evmjit::ObjectCache:
[legend]
Collaboration diagram for dev::evmjit::ObjectCache:
[legend]

Public Member Functions

virtual void notifyObjectCompiled (llvm::Module const *_module, llvm::MemoryBufferRef _object) finaloverride
 notifyObjectCompiled - Provides a pointer to compiled code for Module M. More...
 
virtual std::unique_ptr< llvm::MemoryBuffer > getObject (llvm::Module const *_module) finaloverride
 getObjectCopy - Returns a pointer to a newly allocated MemoryBuffer that contains the object which corresponds with Module M, or 0 if an object is not available. More...
 

Detailed Description

Definition at line 32 of file Cache.h.

Member Function Documentation

std::unique_ptr< llvm::MemoryBuffer > dev::evmjit::ObjectCache::getObject ( llvm::Module const *  _module)
finaloverridevirtual

getObjectCopy - Returns a pointer to a newly allocated MemoryBuffer that contains the object which corresponds with Module M, or 0 if an object is not available.

The caller owns both the MemoryBuffer returned by this and the memory it references.

Definition at line 172 of file Cache.cpp.

void dev::evmjit::ObjectCache::notifyObjectCompiled ( llvm::Module const *  _module,
llvm::MemoryBufferRef  _object 
)
finaloverridevirtual

notifyObjectCompiled - Provides a pointer to compiled code for Module M.

Definition at line 144 of file Cache.cpp.

Here is the call graph for this function:


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