v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <compiler.h>
Static Public Attributes | |
static const int | kMaxInliningLevels = 3 |
static const int | kCallsUntilPrimitiveOpt = 200 |
Definition at line 417 of file compiler.h.
|
static |
Definition at line 926 of file compiler.cc.
References FunctionLiteral::AllowsLazyCompilation(), FunctionLiteral::AllowsLazyCompilationWithoutContext(), ASSERT, Isolate::builtins(), CompilationInfo::code(), ScopeInfo::Create(), Isolate::DebuggerHasBreakPoints(), ScopeInfo::Empty(), FunctionLiteral::expected_property_count(), FACTORY, FunctionLiteral::is_parenthesized(), LiveEditFunctionTracker::IsActive(), CompilationInfo::isolate(), Scope::language_mode(), FunctionLiteral::materialized_literal_count(), FunctionLiteral::name(), Handle< T >::null(), Compiler::RecordFunctionCompilation(), CompilationInfo::scope(), FunctionLiteral::scope(), CompilationInfo::SetCode(), v8::internal::SetExpectedNofPropertiesFromEstimate(), CompilationInfo::SetFunction(), Compiler::SetFunctionInfo(), CompilationInfo::SetLanguageMode(), CompilationInfo::SetScope(), and CompilationInfo::zone().
|
static |
Definition at line 542 of file compiler.cc.
References Isolate::compilation_cache(), Isolate::counters(), v8::internal::EXTENDED_MODE, FACTORY, Smi::FromInt(), HEAP, Handle< T >::is_null(), CompilationCache::LookupScript(), CompilationInfo::MarkAsGlobal(), v8::internal::NATIVES_CODE, v8::internal::NULL, CompilationCache::PutScript(), Isolate::ReportPendingMessages(), CompilationInfo::SetContext(), CompilationInfo::SetExtension(), CompilationInfo::SetLanguageMode(), CompilationInfo::SetPreParseData(), v8::internal::STRICT_MODE, and Script::TYPE_NATIVE.
Referenced by Script::New().
|
static |
Definition at line 619 of file compiler.cc.
References ASSERT, Isolate::compilation_cache(), Isolate::counters(), v8::internal::EXTENDED_MODE, Isolate::factory(), HEAP, Handle< T >::is_null(), CompilationCache::LookupEval(), CompilationInfo::MarkAsEval(), CompilationInfo::MarkAsGlobal(), Factory::NewScript(), CompilationCache::PutEval(), CompilationInfo::SetContext(), CompilationInfo::SetLanguageMode(), and v8::internal::STRICT_MODE.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 786 of file compiler.cc.
References ASSERT, CompilationInfo::closure(), CompilationInfo::code(), Isolate::counters(), v8::internal::DELETE_ON_EXIT, ScopeInfo::Empty(), CompilationInfo::function(), Isolate::has_pending_exception(), CompilationInfo::isolate(), CompilationInfo::IsOptimizing(), v8::internal::kNoParsingFlags, FunctionLiteral::language_mode(), ParserApi::Parse(), CompilationInfo::SetLanguageMode(), CompilationInfo::shared_info(), Isolate::StackOverflow(), and CompilationInfo::zone().
|
static |
Definition at line 895 of file compiler.cc.
References OptimizingCompiler::AbortOptimization(), ASSERT, OptimizingCompiler::BAILED_OUT, ScopeInfo::Empty(), OptimizingCompiler::GenerateAndInstallCode(), OptimizingCompiler::info(), OptimizingCompiler::last_status(), CompilationInfo::set_bailout_reason(), and OptimizingCompiler::SUCCEEDED.
Referenced by OptimizingCompilerThread::InstallOptimizedFunctions().
|
static |
Definition at line 839 of file compiler.cc.
References Scope::Analyze(), ASSERT, OptimizingCompiler::BAILED_OUT, OptimizingCompiler::CreateGraph(), SmartPointerBase< ObjectDeallocator< T >, T >::Detach(), v8::internal::kNoParsingFlags, BailoutId::None(), ParserApi::Parse(), v8::internal::PrintF(), Rewriter::Rewrite(), and OptimizingCompiler::SUCCEEDED.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 1017 of file compiler.cc.
References Builtins::builtin(), Isolate::builtins(), String::cast(), CompilationInfo::code(), GDBJIT, v8::internal::GetScriptLineNumber(), Logger::is_logging_code_events(), CompilationInfo::isolate(), Isolate::logger(), PROFILE, CompilationInfo::script(), and v8::internal::USE().
Referenced by Compiler::BuildFunctionInfo(), and OptimizingCompiler::CreateGraph().
|
static |
Definition at line 986 of file compiler.cc.
References FunctionLiteral::AllowsLazyCompilation(), FunctionLiteral::AllowsLazyCompilationWithoutContext(), Scope::arguments(), FunctionLiteral::ast_node_count(), FunctionLiteral::end_position(), FunctionLiteral::flags(), FunctionLiteral::function_token_position(), FunctionLiteral::has_duplicate_parameters(), FunctionLiteral::has_only_simple_this_property_assignments(), FunctionLiteral::inferred_name(), FunctionLiteral::is_anonymous(), FunctionLiteral::is_expression(), FunctionLiteral::is_function(), v8::internal::kDontCache, v8::internal::kDontInline, v8::internal::kDontOptimize, FunctionLiteral::language_mode(), v8::internal::NULL, FunctionLiteral::parameter_count(), FunctionLiteral::scope(), FunctionLiteral::start_position(), and FunctionLiteral::this_property_assignments().
Referenced by Compiler::BuildFunctionInfo().
|
static |
Definition at line 422 of file compiler.h.
|
static |
Definition at line 419 of file compiler.h.
Referenced by Isolate::CaptureCurrentStackTrace(), and v8::internal::RUNTIME_FUNCTION().