v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Compiler Class Reference

#include <compiler.h>

Inheritance diagram for Compiler:
Collaboration diagram for Compiler:

Public Types

enum  ConcurrencyMode { NOT_CONCURRENT, CONCURRENT }
 

Static Public Member Functions

static Handle< CodeGetUnoptimizedCode (Handle< JSFunction > function)
 
static Handle< CodeGetUnoptimizedCode (Handle< SharedFunctionInfo > shared)
 
static bool EnsureCompiled (Handle< JSFunction > function, ClearExceptionFlag flag)
 
static Handle< CodeGetCodeForDebugging (Handle< JSFunction > function)
 
static Handle< JSFunctionGetFunctionFromEval (Handle< String > source, Handle< Context > context, StrictMode strict_mode, ParseRestriction restriction, int scope_position)
 
static Handle< SharedFunctionInfoCompileScript (Handle< String > source, Handle< Object > script_name, int line_offset, int column_offset, bool is_shared_cross_origin, Handle< Context > context, v8::Extension *extension, ScriptDataImpl **cached_data, CachedDataMode cached_data_mode, NativesFlag is_natives_code)
 
static Handle< SharedFunctionInfoBuildFunctionInfo (FunctionLiteral *node, Handle< Script > script)
 
static Handle< CodeGetOptimizedCode (Handle< JSFunction > function, Handle< Code > current_code, ConcurrencyMode mode, BailoutId osr_ast_id=BailoutId::None())
 
static Handle< CodeGetConcurrentlyOptimizedCode (OptimizedCompileJob *job)
 
static void RecordFunctionCompilation (Logger::LogEventsAndTags tag, CompilationInfo *info, Handle< SharedFunctionInfo > shared)
 

Detailed Description

Definition at line 616 of file compiler.h.

Member Enumeration Documentation

Enumerator
NOT_CONCURRENT 
CONCURRENT 

Definition at line 652 of file compiler.h.

Member Function Documentation

bool EnsureCompiled ( Handle< JSFunction function,
ClearExceptionFlag  flag 
)
static
Handle< Code > GetUnoptimizedCode ( Handle< SharedFunctionInfo shared)
static

Definition at line 676 of file compiler.cc.

References ASSERT, ASSERT_EQ, v8::internal::info, and Handle< T >::is_null().


The documentation for this class was generated from the following files: