v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <codegen.h>
Static Public Member Functions | |
static void | MakeCodePrologue (CompilationInfo *info, const char *kind) |
static Handle< Code > | MakeCodeEpilogue (MacroAssembler *masm, Code::Flags flags, CompilationInfo *info) |
static void | PrintCode (Handle< Code > code, CompilationInfo *info) |
static bool | ShouldGenerateLog (Isolate *isolate, Expression *type) |
static bool | RecordPositions (MacroAssembler *masm, int pos, bool right_here=false) |
|
static |
Definition at line 103 of file codegen.cc.
References code(), MacroAssembler::CodeObject(), Isolate::counters(), Isolate::factory(), Assembler::GetCode(), Isolate::heap(), Heap::IncrementCodeGeneratedBytes(), CompilationInfo::isolate(), CompilationInfo::IsStub(), Factory::NewCode(), and CompilationInfo::prologue_offset().
Referenced by LChunk::Codegen(), and FullCodeGenerator::MakeCode().
|
static |
Definition at line 62 of file codegen.cc.
References Isolate::bootstrapper(), CompilationInfo::code_stub(), CompilationInfo::function(), Bootstrapper::IsActive(), CompilationInfo::isolate(), CompilationInfo::IsStub(), name, NULL, v8::internal::PrintF(), and CompilationInfo::zone().
Referenced by LChunk::Codegen(), and FullCodeGenerator::MakeCode().
|
static |
Definition at line 126 of file codegen.cc.
References Isolate::bootstrapper(), CompilationInfo::closure(), CompilationInfo::code_stub(), CompilationInfo::function(), Isolate::GetCodeTracer(), Bootstrapper::IsActive(), CompilationInfo::isolate(), CompilationInfo::IsOptimizing(), CompilationInfo::IsStub(), CompilationInfo::optimization_id(), v8::internal::PrintF(), and CompilationInfo::script().
Referenced by LChunk::Codegen(), and FullCodeGenerator::MakeCode().
|
static |
Definition at line 206 of file codegen.cc.
References Assembler::positions_recorder().
|
static |
Definition at line 191 of file codegen.cc.
References ASSERT, Isolate::cpu_profiler(), Logger::is_logging(), Isolate::logger(), name, NULL, and STATIC_ASCII_VECTOR.