v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <compiler.h>
Definition at line 42 of file compiler.h.
CompilationInfo | ( | Handle< Script > | script, |
Zone * | zone | ||
) |
Definition at line 54 of file compiler.cc.
CompilationInfo | ( | Handle< SharedFunctionInfo > | shared_info, |
Zone * | zone | ||
) |
Definition at line 70 of file compiler.cc.
CompilationInfo | ( | Handle< JSFunction > | closure, |
Zone * | zone | ||
) |
Definition at line 89 of file compiler.cc.
|
virtual |
Definition at line 109 of file compiler.cc.
void AbortOptimization | ( | ) |
Definition at line 139 of file compiler.cc.
References CompilationInfo::code(), CompilationInfo::SetCode(), and CompilationInfo::shared_info().
Referenced by OptimizingCompiler::AbortOptimization(), and OptimizingCompiler::CreateGraph().
|
inline |
Definition at line 186 of file compiler.h.
Referenced by OptimizingCompiler::AbortOptimization().
|
inline |
Definition at line 70 of file compiler.h.
Referenced by Compiler::CompileLazy(), CompilationInfo::global_object(), CompilationInfo::has_global_object(), HGraph::HGraph(), and CodeGenerator::PrintCode().
Definition at line 69 of file compiler.h.
Referenced by CompilationInfo::AbortOptimization(), Compiler::BuildFunctionInfo(), Compiler::CompileLazy(), OptimizingCompiler::CreateGraph(), Compiler::RecordFunctionCompilation(), and CompilationInfo::SetCode().
Definition at line 75 of file compiler.h.
Referenced by CompilationInfo::SetContext().
void DisableOptimization | ( | ) |
Definition at line 115 of file compiler.cc.
References Scope::HasTrivialOuterContext(), Scope::inside_with(), and Scope::outer_scope_calls_non_strict_eval().
|
inline |
Definition at line 162 of file compiler.h.
References ASSERT, and CompilationInfo::IsOptimizable().
Referenced by OptimizingCompiler::CreateGraph(), and CompilationInfo::MarkCompilingForDebugging().
|
inline |
Definition at line 73 of file compiler.h.
Referenced by ParserApi::Parse(), and CompilationInfo::SetExtension().
|
inline |
Definition at line 66 of file compiler.h.
Referenced by Scope::Analyze(), Compiler::CompileLazy(), OptimizingCompiler::CreateGraph(), FullCodeGenerator::MakeCode(), CodeGenerator::MakeCodePrologue(), ParserApi::Parse(), CodeGenerator::PrintCode(), and Rewriter::Rewrite().
|
inline |
Definition at line 145 of file compiler.h.
References CompilationInfo::closure(), CompilationInfo::has_global_object(), and v8::internal::NULL.
|
inline |
Definition at line 68 of file compiler.h.
Referenced by Scope::ResolveVariable(), Scope::ResolveVariablesRecursively(), and CompilationInfo::SetGlobalScope().
|
inline |
Definition at line 140 of file compiler.h.
References CompilationInfo::closure(), and v8::internal::NULL.
Referenced by CompilationInfo::global_object().
|
inline |
Definition at line 159 of file compiler.h.
Referenced by FullCodeGenerator::MakeCode().
|
inline |
Definition at line 60 of file compiler.h.
References v8::internal::CLASSIC_MODE, and CompilationInfo::language_mode().
|
inline |
Definition at line 58 of file compiler.h.
Referenced by ParserApi::Parse(), and Parser::ParseProgram().
|
inline |
Definition at line 61 of file compiler.h.
References v8::internal::EXTENDED_MODE, and CompilationInfo::language_mode().
|
inline |
Definition at line 59 of file compiler.h.
|
inline |
Definition at line 65 of file compiler.h.
|
inline |
Definition at line 57 of file compiler.h.
Referenced by CompilationInfo::MarkAsEval(), CompilationInfo::MarkAsGlobal(), CompilationInfo::MarkAsInLoop(), ParserApi::Parse(), CompilationInfo::SetExtension(), and CompilationInfo::SetPreParseData().
|
inline |
Definition at line 99 of file compiler.h.
Referenced by ParserApi::Parse().
|
inline |
Definition at line 136 of file compiler.h.
|
inline |
Definition at line 50 of file compiler.h.
References ASSERT.
Referenced by Scope::AllocateModules(), Scope::Analyze(), Compiler::BuildFunctionInfo(), Compiler::CompileLazy(), OptimizingCompiler::CreateGraph(), BASE_EMBEDDED< Visitor >::HGlobalValueNumberer(), FullCodeGenerator::MakeCode(), CodeGenerator::MakeCodeEpilogue(), ParserApi::Parse(), Compiler::RecordFunctionCompilation(), and Rewriter::Rewrite().
|
inline |
Definition at line 151 of file compiler.h.
Referenced by CompilationInfo::EnableDeoptimizationSupport(), and FullCodeGenerator::MakeCode().
|
inline |
Definition at line 150 of file compiler.h.
Referenced by Compiler::CompileLazy(), and CodeGenerator::PrintCode().
|
inline |
Definition at line 62 of file compiler.h.
Referenced by CompilationInfo::is_classic_mode(), CompilationInfo::is_extended_mode(), and CompilationInfo::SetLanguageMode().
|
inline |
Definition at line 78 of file compiler.h.
References ASSERT, and CompilationInfo::is_lazy().
Referenced by Compiler::CompileEval().
|
inline |
Definition at line 82 of file compiler.h.
References ASSERT, and CompilationInfo::is_lazy().
Referenced by Compiler::Compile(), Compiler::CompileEval(), TEST(), and TestParserSync().
|
inline |
Definition at line 92 of file compiler.h.
References ASSERT, and CompilationInfo::is_lazy().
|
inline |
Definition at line 96 of file compiler.h.
Definition at line 126 of file compiler.h.
References ASSERT, and CompilationInfo::EnableDeoptimizationSupport().
|
inline |
Definition at line 76 of file compiler.h.
Referenced by CompilationInfo::SetOptimizing().
|
inline |
Definition at line 74 of file compiler.h.
Referenced by ParserApi::Parse(), and CompilationInfo::SetPreParseData().
|
inline |
Definition at line 179 of file compiler.h.
|
inline |
Definition at line 67 of file compiler.h.
Referenced by Compiler::BuildFunctionInfo(), OptimizingCompiler::CreateGraph(), HGraphBuilder::CreateGraph(), LChunk::GetParameterStackSlot(), HGraph::HGraph(), CompilationInfo::SetScope(), and CompilationInfo::ShouldSelfOptimize().
Definition at line 72 of file compiler.h.
Referenced by Scope::Analyze(), FullCodeGenerator::MakeCode(), CodeGenerator::PrintCode(), Compiler::RecordFunctionCompilation(), and Scope::ResolveVariable().
|
inline |
Definition at line 187 of file compiler.h.
Referenced by HGraphBuilder::Bailout(), OptimizingCompiler::CreateGraph(), OptimizingCompiler::GenerateAndInstallCode(), Compiler::InstallOptimizedCode(), and LChunk::NewChunk().
|
inline |
Definition at line 174 of file compiler.h.
References ASSERT, and v8::internal::NULL.
Definition at line 114 of file compiler.h.
References CompilationInfo::code().
Referenced by CompilationInfo::AbortOptimization(), Compiler::BuildFunctionInfo(), OptimizingCompiler::CreateGraph(), OptimizingCompiler::GenerateAndInstallCode(), and FullCodeGenerator::MakeCode().
Definition at line 123 of file compiler.h.
References CompilationInfo::context().
Referenced by Compiler::Compile(), Compiler::CompileEval(), and OptimizingCompiler::CreateGraph().
|
inline |
Definition at line 115 of file compiler.h.
References ASSERT, CompilationInfo::extension(), and CompilationInfo::is_lazy().
Referenced by Compiler::Compile().
|
inline |
Definition at line 102 of file compiler.h.
References ASSERT, and v8::internal::NULL.
Referenced by Compiler::BuildFunctionInfo(), OptimizingCompiler::CreateGraph(), and ParserApi::Parse().
|
inline |
Definition at line 110 of file compiler.h.
References ASSERT, CompilationInfo::global_scope(), and v8::internal::NULL.
|
inline |
Definition at line 86 of file compiler.h.
References ASSERT, v8::internal::CLASSIC_MODE, v8::internal::EXTENDED_MODE, and CompilationInfo::language_mode().
Referenced by Compiler::BuildFunctionInfo(), Compiler::Compile(), Compiler::CompileEval(), Compiler::CompileLazy(), and TEST().
|
inline |
Definition at line 152 of file compiler.h.
References CompilationInfo::osr_ast_id().
Referenced by JSFunction::CompileOptimized().
|
inline |
Definition at line 119 of file compiler.h.
References ASSERT, CompilationInfo::is_lazy(), and CompilationInfo::pre_parse_data().
Referenced by Compiler::Compile().
|
inline |
Definition at line 106 of file compiler.h.
References ASSERT, v8::internal::NULL, and CompilationInfo::scope().
Referenced by Scope::Analyze(), Compiler::BuildFunctionInfo(), and OptimizingCompiler::CreateGraph().
|
inline |
Definition at line 71 of file compiler.h.
Referenced by CompilationInfo::AbortOptimization(), OptimizingCompiler::AbortOptimization(), Compiler::CompileLazy(), OptimizingCompiler::CreateGraph(), HStatistics::Initialize(), ParserApi::Parse(), Parser::ParseLazy(), and CompilationInfo::ShouldSelfOptimize().
bool ShouldSelfOptimize | ( | ) |
Definition at line 129 of file compiler.cc.
References Scope::AllowsLazyCompilation(), v8::internal::flags, v8::internal::kDontOptimize, v8::internal::kDontSelfOptimize, CompilationInfo::scope(), and CompilationInfo::shared_info().
|
inline |
Definition at line 54 of file compiler.h.
Referenced by Scope::Analyze(), Compiler::BuildFunctionInfo(), Compiler::CompileLazy(), OptimizingCompiler::CreateGraph(), Rewriter::Rewrite(), and LChunk::zone().