v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <compiler.h>
Public Types | |
enum | ConcurrencyMode { NOT_CONCURRENT, CONCURRENT } |
Definition at line 616 of file compiler.h.
enum ConcurrencyMode |
Enumerator | |
---|---|
NOT_CONCURRENT | |
CONCURRENT |
Definition at line 652 of file compiler.h.
|
static |
Definition at line 996 of file compiler.cc.
References ASSERT, Isolate::builtins(), CompilationInfo::code(), ScopeInfo::Create(), ScopeInfo::Empty(), Isolate::factory(), v8::internal::info, CompilationInfo::isolate(), FullCodeGenerator::MakeCode(), Factory::NewSharedFunctionInfo(), Handle< T >::null(), CompilationInfo::PrepareForCompilation(), Compiler::RecordFunctionCompilation(), LiveEditFunctionTracker::RecordFunctionInfo(), CompilationInfo::scope(), CompilationInfo::SetCode(), v8::internal::SetExpectedNofPropertiesFromEstimate(), CompilationInfo::SetFunction(), CompilationInfo::SetStrictMode(), and CompilationInfo::zone().
|
static |
Definition at line 917 of file compiler.cc.
References ASSERT, Isolate::compilation_cache(), v8::internal::CONSUME_CACHED_DATA, Isolate::counters(), Isolate::factory(), Smi::FromInt(), Heap::global_ic_age(), Isolate::heap(), v8::internal::info, Handle< T >::is_null(), CompilationCache::LookupScript(), CompilationInfo::MarkAsGlobal(), v8::internal::NATIVES_CODE, Factory::NewScript(), v8::internal::NO_CACHED_DATA, v8::internal::NULL, v8::internal::PRODUCE_CACHED_DATA, CompilationCache::PutScript(), Isolate::ReportPendingMessages(), CompilationInfo::SetCachedData(), CompilationInfo::SetContext(), CompilationInfo::SetExtension(), CompilationInfo::SetStrictMode(), v8::internal::STRICT, and Script::TYPE_NATIVE.
Referenced by ScriptCompiler::CompileUnbound().
|
static |
Definition at line 687 of file compiler.cc.
References ASSERT, v8::internal::CLEAR_EXCEPTION, Compiler::GetUnoptimizedCode(), and Handle< T >::is_null().
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 712 of file compiler.cc.
References ASSERT, ASSERT_EQ, Isolate::clear_pending_exception(), CompilationInfo::EnableDeoptimizationSupport(), Isolate::has_pending_exception(), v8::internal::info, Handle< T >::is_null(), CompilationInfo::isolate(), CompilationInfo::MarkCompilingForDebugging(), and CompilationInfo::MarkNonOptimizable().
|
static |
Definition at line 1204 of file compiler.cc.
References OptimizedCompileJob::GenerateCode(), v8::internal::info, OptimizedCompileJob::info(), OptimizedCompileJob::last_status(), Handle< T >::null(), v8::internal::PrintF(), Compiler::RecordFunctionCompilation(), OptimizedCompileJob::SUCCEEDED, and Logger::TimerEventScope::v8_recompile_synchronous.
Referenced by OptimizingCompilerThread::InstallOptimizedFunctions(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 865 of file compiler.cc.
References ASSERT, Isolate::compilation_cache(), Isolate::counters(), Isolate::factory(), Heap::global_ic_age(), Isolate::heap(), v8::internal::info, Handle< T >::is_null(), CompilationCache::LookupEval(), CompilationInfo::MarkAsEval(), CompilationInfo::MarkAsGlobal(), Factory::NewFunctionFromSharedFunctionInfo(), Factory::NewScript(), v8::internal::NOT_TENURED, Handle< T >::null(), CompilationCache::PutEval(), CompilationInfo::SetContext(), CompilationInfo::SetParseRestriction(), CompilationInfo::SetStrictMode(), v8::internal::SLOPPY, and v8::internal::STRICT.
Referenced by v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 1162 of file compiler.cc.
References ASSERT, ASSERT_NE, Isolate::builtins(), Isolate::clear_pending_exception(), Compiler::CONCURRENT, Isolate::counters(), SmartPointerBase< ObjectDeallocator< T >, T >::Detach(), ScopeInfo::Empty(), SmartPointerBase< ObjectDeallocator< T >, T >::get(), v8::internal::GetBailoutReason(), Isolate::has_pending_exception(), v8::internal::info, Handle< T >::is_null(), Handle< T >::null(), and v8::internal::PrintF().
Referenced by Compiler::GetUnoptimizedCode(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 651 of file compiler.cc.
References ASSERT, ASSERT_EQ, Isolate::DebuggerHasBreakPoints(), Compiler::GetOptimizedCode(), Isolate::has_pending_exception(), v8::internal::info, Handle< T >::is_null(), CompilationInfo::isolate(), Compiler::NOT_CONCURRENT, CompilationInfo::shared_info(), and Isolate::use_crankshaft().
Referenced by Compiler::EnsureCompiled(), and v8::internal::RUNTIME_FUNCTION().
|
static |
Definition at line 676 of file compiler.cc.
References ASSERT, ASSERT_EQ, v8::internal::info, and Handle< T >::is_null().
|
static |
Definition at line 1251 of file compiler.cc.
References Isolate::builtins(), String::cast(), CompilationInfo::code(), Isolate::cpu_profiler(), GDBJIT, v8::internal::GetScriptColumnNumber(), v8::internal::GetScriptLineNumber(), Isolate::heap(), Logger::is_logging_code_events(), CompilationInfo::isolate(), Isolate::logger(), PROFILE, CompilationInfo::script(), and v8::internal::USE().
Referenced by Compiler::BuildFunctionInfo(), OptimizedCompileJob::CreateGraph(), and Compiler::GetConcurrentlyOptimizedCode().