CACAO
Static Public Member Functions
CompilerStub Class Reference

Class for compiler stub generation. More...

Static Public Member Functions

static int get_code_size ()
 Return the code size of a compiler on the aarch64 architecture. More...
 
static voidgenerate (methodinfo *m)
 Wrapper for codegen_emit_stub_compiler. More...
 
static void remove (void *stub)
 Free a compiler stub from memory. More...
 

Detailed Description

Class for compiler stub generation.

Definition at line 39 of file stubs.hpp.

Member Function Documentation

void * CompilerStub::generate ( methodinfo m)
static

Wrapper for codegen_emit_stub_compiler.

Parameters
mMethod object.
Returns
Pointer to the compiler stub code.

Definition at line 61 of file stubs.cpp.

int CompilerStub::get_code_size ( )
inlinestatic

Return the code size of a compiler on the aarch64 architecture.

Return the code size of a compiler on a x86_64 architecture.

Return the code size of a compiler on a SPARC64 architecture.

Return the code size of a compiler on a s390 architecture.

Return the code size of a compiler on a PowerPC64 architecture.

Return the code size of a compiler on a PowerPC architecture.

Return the code size of a compiler on a MIPS architecture.

Return the code size of a compiler on an i386 architecture.

Return the code size of a compiler on an ARM architecture.

Return the code size of a compiler on an Alpha architecture.

Returns
Code size in bytes.

Definition at line 38 of file md-stubs.hpp.

void CompilerStub::remove ( void stub)
static

Free a compiler stub from memory.

Parameters

Definition at line 155 of file stubs.cpp.


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