v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <compiler.h>
Public Types | |
enum | Status { FAILED, BAILED_OUT, SUCCEEDED } |
Public Member Functions | |
OptimizingCompiler (CompilationInfo *info) | |
MUST_USE_RESULT Status | CreateGraph () |
MUST_USE_RESULT Status | OptimizeGraph () |
MUST_USE_RESULT Status | GenerateAndInstallCode () |
Status | last_status () const |
CompilationInfo * | info () const |
MUST_USE_RESULT Status | AbortOptimization () |
Public Member Functions inherited from ZoneObject | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Definition at line 342 of file compiler.h.
enum Status |
Enumerator | |
---|---|
FAILED | |
BAILED_OUT | |
SUCCEEDED |
Definition at line 355 of file compiler.h.
|
inlineexplicit |
Definition at line 344 of file compiler.h.
|
inline |
Definition at line 366 of file compiler.h.
References CompilationInfo::AbortOptimization(), OptimizingCompiler::BAILED_OUT, CompilationInfo::bailout_reason(), and CompilationInfo::shared_info().
Referenced by OptimizingCompiler::CreateGraph(), OptimizingCompiler::GenerateAndInstallCode(), and Compiler::InstallOptimizedCode().
OptimizingCompiler::Status CreateGraph | ( | ) |
Definition at line 219 of file compiler.cc.
References CompilationInfo::AbortOptimization(), OptimizingCompiler::AbortOptimization(), ASSERT, OptimizingCompiler::BAILED_OUT, CompilationInfo::code(), v8::internal::code(), HGraphBuilder::CreateGraph(), v8::internal::CStrVector(), FunctionLiteral::debug_name(), CompilationInfo::EnableDeoptimizationSupport(), OptimizingCompiler::FAILED, CompilationInfo::function(), OptimizingCompiler::info(), HGraphBuilder::inline_bailout(), HTracer::Instance(), CompilationInfo::isolate(), LUnallocated::kMaxFixedIndex, LUnallocated::kMinFixedIndex, Vector< T >::length(), FullCodeGenerator::MakeCode(), v8::internal::NULL, Scope::num_parameters(), Scope::num_stack_slots(), v8::internal::PrintF(), Compiler::RecordFunctionCompilation(), CompilationInfo::scope(), CompilationInfo::set_bailout_reason(), CompilationInfo::SetCode(), CompilationInfo::SetContext(), CompilationInfo::SetFunction(), CompilationInfo::SetScope(), CompilationInfo::shared_info(), Vector< T >::SubVector(), OptimizingCompiler::SUCCEEDED, HTracer::TraceCompilation(), V8::UseCrankshaft(), and CompilationInfo::zone().
Referenced by Compiler::RecompileParallel().
OptimizingCompiler::Status GenerateAndInstallCode | ( | ) |
Definition at line 372 of file compiler.cc.
References OptimizingCompiler::AbortOptimization(), ASSERT, LChunk::Codegen(), OptimizingCompiler::info(), Handle< T >::is_null(), OptimizingCompiler::last_status(), v8::internal::NULL, CompilationInfo::set_bailout_reason(), CompilationInfo::SetCode(), and OptimizingCompiler::SUCCEEDED.
Referenced by Compiler::InstallOptimizedCode().
|
inline |
Definition at line 364 of file compiler.h.
Referenced by OptimizingCompiler::CreateGraph(), OptimizingCompiler::GenerateAndInstallCode(), and Compiler::InstallOptimizedCode().
|
inline |
Definition at line 363 of file compiler.h.
Referenced by OptimizingCompiler::GenerateAndInstallCode(), Compiler::InstallOptimizedCode(), and OptimizingCompiler::OptimizeGraph().
OptimizingCompiler::Status OptimizeGraph | ( | ) |
Definition at line 351 of file compiler.cc.
References ASSERT, OptimizingCompiler::BAILED_OUT, HGraphBuilder::Bailout(), SmartPointerBase< Deallocator, T >::is_empty(), OptimizingCompiler::last_status(), LChunk::NewChunk(), v8::internal::NULL, HGraph::Optimize(), and OptimizingCompiler::SUCCEEDED.