v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AssemblerBase Class Reference

#include <assembler.h>

Inheritance diagram for AssemblerBase:
Collaboration diagram for AssemblerBase:

Public Member Functions

 AssemblerBase (Isolate *isolate, void *buffer, int buffer_size)
 
virtual ~AssemblerBase ()
 
Isolateisolate () const
 
int jit_cookie () const
 
bool emit_debug_code () const
 
void set_emit_debug_code (bool value)
 
bool predictable_code_size () const
 
void set_predictable_code_size (bool value)
 
uint64_t enabled_cpu_features () const
 
void set_enabled_cpu_features (uint64_t features)
 
bool IsEnabled (CpuFeature f)
 
int pc_offset () const
 
virtual void AbortedCodeGeneration ()
 
- Public Member Functions inherited from Malloced
void * operator new (size_t size)
 
void operator delete (void *p)
 

Static Public Member Functions

static void QuietNaN (HeapObject *nan)
 
- Static Public Member Functions inherited from Malloced
static void FatalProcessOutOfMemory ()
 
static void * New (size_t size)
 
static void Delete (void *p)
 

Static Public Attributes

static const int kMinimalBufferSize = 4*KB
 

Protected Attributes

bytebuffer_
 
int buffer_size_
 
bool own_buffer_
 
bytepc_
 

Detailed Description

Definition at line 57 of file assembler.h.

Constructor & Destructor Documentation

Member Function Documentation

virtual void AbortedCodeGeneration ( )
inlinevirtual

Reimplemented in Assembler.

Definition at line 87 of file assembler.h.

bool emit_debug_code ( ) const
inline

Definition at line 65 of file assembler.h.

Referenced by MacroAssembler::Drop(), and MacroAssembler::DropBySMI().

uint64_t enabled_cpu_features ( ) const
inline

Definition at line 71 of file assembler.h.

bool IsEnabled ( CpuFeature  f)
inline

Definition at line 75 of file assembler.h.

int jit_cookie ( ) const
inline

Definition at line 63 of file assembler.h.

bool predictable_code_size ( ) const
inline

Definition at line 68 of file assembler.h.

static void QuietNaN ( HeapObject nan)
inlinestatic

Definition at line 81 of file assembler.h.

void set_emit_debug_code ( bool  value)
inline
void set_enabled_cpu_features ( uint64_t  features)
inline

Definition at line 72 of file assembler.h.

void set_predictable_code_size ( bool  value)
inline

Field Documentation

const int kMinimalBufferSize = 4*KB
static
bool own_buffer_
protected

Definition at line 96 of file assembler.h.

Referenced by AssemblerBase::AssemblerBase(), and AssemblerBase::~AssemblerBase().


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