v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <assembler.h>
Public Member Functions | |
AssemblerBase (Isolate *isolate, void *buffer, int buffer_size) | |
virtual | ~AssemblerBase () |
Isolate * | isolate () 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 | |
byte * | buffer_ |
int | buffer_size_ |
bool | own_buffer_ |
byte * | pc_ |
Definition at line 57 of file assembler.h.
AssemblerBase | ( | Isolate * | isolate, |
void * | buffer, | ||
int | buffer_size | ||
) |
Definition at line 120 of file assembler.cc.
References ASSERT, AssemblerBase::buffer_, AssemblerBase::buffer_size_, AssemblerBase::kMinimalBufferSize, v8::internal::NULL, AssemblerBase::own_buffer_, AssemblerBase::pc_, and Isolate::random_number_generator().
|
virtual |
Definition at line 152 of file assembler.cc.
References AssemblerBase::buffer_, AssemblerBase::buffer_size_, v8::internal::DeleteArray(), AssemblerBase::isolate(), AssemblerBase::kMinimalBufferSize, v8::internal::NULL, and AssemblerBase::own_buffer_.
|
inlinevirtual |
Reimplemented in Assembler.
Definition at line 87 of file assembler.h.
|
inline |
Definition at line 65 of file assembler.h.
Referenced by MacroAssembler::Drop(), and MacroAssembler::DropBySMI().
|
inline |
Definition at line 71 of file assembler.h.
|
inline |
Definition at line 75 of file assembler.h.
|
inline |
Definition at line 62 of file assembler.h.
Referenced by MacroAssembler::InitializeRootRegister(), MacroAssembler::Move(), MacroAssembler::Push(), Assembler::runtime_entry_at(), and AssemblerBase::~AssemblerBase().
|
inline |
Definition at line 63 of file assembler.h.
|
inline |
Definition at line 83 of file assembler.h.
References AssemblerBase::buffer_, and AssemblerBase::pc_.
Referenced by Assembler::BlockTrampolinePoolBefore(), Assembler::EndBlockConstPool(), Assembler::is_const_pool_blocked(), Assembler::SizeOfCodeGeneratedSince(), TEST(), PatchingAssembler::~PatchingAssembler(), and PredictableCodeSizeScope::~PredictableCodeSizeScope().
|
inline |
Definition at line 68 of file assembler.h.
|
inlinestatic |
Definition at line 81 of file assembler.h.
|
inline |
Definition at line 66 of file assembler.h.
Referenced by Deoptimizer::EnsureCodeForDeoptimizationEntry(), and FullCodeGenerator::Initialize().
|
inline |
Definition at line 72 of file assembler.h.
|
inline |
Definition at line 69 of file assembler.h.
Referenced by FullCodeGenerator::Initialize(), PredictableCodeSizeScope::PredictableCodeSizeScope(), and PredictableCodeSizeScope::~PredictableCodeSizeScope().
|
protected |
Definition at line 94 of file assembler.h.
Referenced by Assembler::addr_at(), AssemblerBase::AssemblerBase(), Assembler::byte_at(), Assembler::instr_at(), Assembler::instr_at_put(), Assembler::InstructionAt(), AssemblerBase::pc_offset(), Assembler::relocation_writer_size(), Assembler::set_byte_at(), Assembler::SizeOfGeneratedCode(), AssemblerBase::~AssemblerBase(), and PatchingAssembler::~PatchingAssembler().
|
protected |
Definition at line 95 of file assembler.h.
Referenced by AssemblerBase::AssemblerBase(), Assembler::relocation_writer_size(), Assembler::SizeOfCodeGeneratedSince(), Assembler::SizeOfGeneratedCode(), AssemblerBase::~AssemblerBase(), and PatchingAssembler::~PatchingAssembler().
|
static |
Definition at line 89 of file assembler.h.
Referenced by AssemblerBase::AssemblerBase(), MakeConvertDToIFuncTrampoline(), TEST(), and AssemblerBase::~AssemblerBase().
|
protected |
Definition at line 96 of file assembler.h.
Referenced by AssemblerBase::AssemblerBase(), and AssemblerBase::~AssemblerBase().
|
protected |
Definition at line 99 of file assembler.h.
Referenced by AssemblerBase::AssemblerBase(), Assembler::available_space(), Assembler::buffer_overflow(), Assembler::buffer_space(), Assembler::EmitStringData(), Assembler::overflow(), AssemblerBase::pc_offset(), and Assembler::SizeOfGeneratedCode().