v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::UnoptimizedCompileFlags Class Reference

#include <parse-info.h>

Collaboration diagram for v8::internal::UnoptimizedCompileFlags:

Classes

struct  BitFields
 

Public Member Functions

int script_id () const
 
UnoptimizedCompileFlagsset_script_id (int value)
 
FunctionKind function_kind () const
 
UnoptimizedCompileFlagsset_function_kind (FunctionKind value)
 
FunctionSyntaxKind function_syntax_kind () const
 
UnoptimizedCompileFlagsset_function_syntax_kind (FunctionSyntaxKind value)
 
ParsingWhileDebugging parsing_while_debugging () const
 
UnoptimizedCompileFlagsset_parsing_while_debugging (ParsingWhileDebugging value)
 

Static Public Member Functions

static UnoptimizedCompileFlags ForToplevelCompile (Isolate *isolate, bool is_user_javascript, LanguageMode language_mode, REPLMode repl_mode, ScriptType type, bool lazy)
 
static UnoptimizedCompileFlags ForFunctionCompile (Isolate *isolate, Tagged< SharedFunctionInfo > shared)
 
static UnoptimizedCompileFlags ForScriptCompile (Isolate *isolate, Tagged< Script > script)
 
static UnoptimizedCompileFlags ForToplevelFunction (const UnoptimizedCompileFlags toplevel_flags, const FunctionLiteral *literal)
 
static UnoptimizedCompileFlags ForTest (Isolate *isolate)
 

Private Member Functions

 UnoptimizedCompileFlags (Isolate *isolate, int script_id)
 
template<typename T >
void SetFlagsFromFunction (T function)
 
void SetFlagsForToplevelCompile (bool is_user_javascript, LanguageMode language_mode, REPLMode repl_mode, ScriptType type, bool lazy)
 
void SetFlagsForFunctionFromScript (Tagged< Script > script)
 

Private Attributes

uint32_t flags_
 
int script_id_
 
FunctionKind function_kind_
 
FunctionSyntaxKind function_syntax_kind_
 
ParsingWhileDebugging parsing_while_debugging_
 

Detailed Description

Definition at line 70 of file parse-info.h.

Constructor & Destructor Documentation

◆ UnoptimizedCompileFlags()

v8::internal::UnoptimizedCompileFlags::UnoptimizedCompileFlags ( Isolate * isolate,
int script_id )
private

Definition at line 24 of file parse-info.cc.

Here is the caller graph for this function:

Member Function Documentation

◆ ForFunctionCompile()

UnoptimizedCompileFlags v8::internal::UnoptimizedCompileFlags::ForFunctionCompile ( Isolate * isolate,
Tagged< SharedFunctionInfo > shared )
static

Definition at line 46 of file parse-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ForScriptCompile()

UnoptimizedCompileFlags v8::internal::UnoptimizedCompileFlags::ForScriptCompile ( Isolate * isolate,
Tagged< Script > script )
static

Definition at line 69 of file parse-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ForTest()

UnoptimizedCompileFlags v8::internal::UnoptimizedCompileFlags::ForTest ( Isolate * isolate)
static

Definition at line 113 of file parse-info.cc.

Here is the call graph for this function:

◆ ForToplevelCompile()

UnoptimizedCompileFlags v8::internal::UnoptimizedCompileFlags::ForToplevelCompile ( Isolate * isolate,
bool is_user_javascript,
LanguageMode language_mode,
REPLMode repl_mode,
ScriptType type,
bool lazy )
static

Definition at line 88 of file parse-info.cc.

Here is the caller graph for this function:

◆ ForToplevelFunction()

UnoptimizedCompileFlags v8::internal::UnoptimizedCompileFlags::ForToplevelFunction ( const UnoptimizedCompileFlags toplevel_flags,
const FunctionLiteral * literal )
static

Definition at line 99 of file parse-info.cc.

Here is the call graph for this function:

◆ function_kind()

FunctionKind v8::internal::UnoptimizedCompileFlags::function_kind ( ) const
inline

Definition at line 112 of file parse-info.h.

◆ function_syntax_kind()

FunctionSyntaxKind v8::internal::UnoptimizedCompileFlags::function_syntax_kind ( ) const
inline

Definition at line 118 of file parse-info.h.

◆ parsing_while_debugging()

ParsingWhileDebugging v8::internal::UnoptimizedCompileFlags::parsing_while_debugging ( ) const
inline

Definition at line 126 of file parse-info.h.

◆ script_id()

int v8::internal::UnoptimizedCompileFlags::script_id ( ) const
inline

Definition at line 106 of file parse-info.h.

Here is the caller graph for this function:

◆ set_function_kind()

UnoptimizedCompileFlags & v8::internal::UnoptimizedCompileFlags::set_function_kind ( FunctionKind value)
inline

Definition at line 113 of file parse-info.h.

Here is the caller graph for this function:

◆ set_function_syntax_kind()

UnoptimizedCompileFlags & v8::internal::UnoptimizedCompileFlags::set_function_syntax_kind ( FunctionSyntaxKind value)
inline

Definition at line 121 of file parse-info.h.

Here is the caller graph for this function:

◆ set_parsing_while_debugging()

UnoptimizedCompileFlags & v8::internal::UnoptimizedCompileFlags::set_parsing_while_debugging ( ParsingWhileDebugging value)
inline

Definition at line 129 of file parse-info.h.

◆ set_script_id()

UnoptimizedCompileFlags & v8::internal::UnoptimizedCompileFlags::set_script_id ( int value)
inline

Definition at line 107 of file parse-info.h.

◆ SetFlagsForFunctionFromScript()

void v8::internal::UnoptimizedCompileFlags::SetFlagsForFunctionFromScript ( Tagged< Script > script)
private

Definition at line 147 of file parse-info.cc.

Here is the call graph for this function:

◆ SetFlagsForToplevelCompile()

void v8::internal::UnoptimizedCompileFlags::SetFlagsForToplevelCompile ( bool is_user_javascript,
LanguageMode language_mode,
REPLMode repl_mode,
ScriptType type,
bool lazy )
private

Definition at line 132 of file parse-info.cc.

Here is the call graph for this function:

◆ SetFlagsFromFunction()

template<typename T >
void v8::internal::UnoptimizedCompileFlags::SetFlagsFromFunction ( T function)
private

Definition at line 118 of file parse-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ flags_

uint32_t v8::internal::UnoptimizedCompileFlags::flags_
private

Definition at line 152 of file parse-info.h.

◆ function_kind_

FunctionKind v8::internal::UnoptimizedCompileFlags::function_kind_
private

Definition at line 154 of file parse-info.h.

◆ function_syntax_kind_

FunctionSyntaxKind v8::internal::UnoptimizedCompileFlags::function_syntax_kind_
private

Definition at line 155 of file parse-info.h.

◆ parsing_while_debugging_

ParsingWhileDebugging v8::internal::UnoptimizedCompileFlags::parsing_while_debugging_
private

Definition at line 156 of file parse-info.h.

◆ script_id_

int v8::internal::UnoptimizedCompileFlags::script_id_
private

Definition at line 153 of file parse-info.h.


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