V8 Project
|
#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 | RecordPositions (MacroAssembler *masm, int pos, bool right_here=false) |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (CodeGenerator) | |
|
private |
|
static |
Definition at line 139 of file codegen.cc.
References v8::internal::MacroAssembler::CodeObject(), v8::internal::Isolate::counters(), v8::internal::Isolate::factory(), v8::internal::anonymous_namespace{flags.cc}::flags, v8::internal::Assembler::GetCode(), v8::internal::Isolate::heap(), v8::internal::Heap::IncrementCodeGeneratedBytes(), v8::internal::CompilationInfo::is_debug(), v8::internal::CompilationInfo::isolate(), v8::internal::CompilationInfo::IsStub(), and v8::internal::CompilationInfo::prologue_offset().
Referenced by v8::internal::LChunk::Codegen(), and v8::internal::FullCodeGenerator::MakeCode().
|
static |
Definition at line 97 of file codegen.cc.
References v8::internal::Isolate::bootstrapper(), v8::internal::CompilationInfo::code_stub(), v8::internal::CompilationInfo::function(), v8::internal::CompilationInfo::isolate(), v8::internal::CompilationInfo::IsStub(), name, NULL, v8::internal::PrintF(), and v8::internal::CompilationInfo::zone().
Referenced by v8::internal::LChunk::Codegen(), and v8::internal::FullCodeGenerator::MakeCode().
|
static |
Definition at line 163 of file codegen.cc.
References v8::internal::Isolate::bootstrapper(), v8::internal::CompilationInfo::closure(), v8::internal::CompilationInfo::code_stub(), v8::internal::CompilationInfo::function(), v8::internal::Isolate::GetCodeTracer(), v8::internal::StringCharacterStream::GetNext(), v8::internal::StringCharacterStream::HasMore(), v8::internal::CompilationInfo::isolate(), v8::internal::CompilationInfo::IsOptimizing(), v8::internal::CompilationInfo::IsStub(), v8::internal::CompilationInfo::optimization_id(), and v8::internal::CompilationInfo::script().
Referenced by v8::internal::LChunk::Codegen(), v8::internal::compiler::Pipeline::GenerateCode(), and v8::internal::FullCodeGenerator::MakeCode().
|
static |
Definition at line 225 of file codegen.cc.
References v8::internal::Assembler::positions_recorder().
Referenced by v8::internal::FullCodeGenerator::SetExpressionPosition(), v8::internal::FullCodeGenerator::SetFunctionPosition(), v8::internal::FullCodeGenerator::SetReturnPosition(), and v8::internal::FullCodeGenerator::SetStatementPosition().