#include <asm-parser.h>
|
| enum class | VarKind {
kUnused
, kLocal
, kGlobal
, kSpecial
,
kFunction
, kTable
, kImportedFunction
, V
,
V
} |
| |
| enum class | BlockKind { kRegular
, kLoop
, kNamed
, kOther
} |
| |
|
| Zone * | zone () |
| |
| bool | Peek (AsmJsScanner::token_t token) |
| |
| bool | PeekForZero () |
| |
| bool | Check (AsmJsScanner::token_t token) |
| |
| bool | CheckForZero () |
| |
| bool | CheckForDouble (double *value) |
| |
| bool | CheckForUnsigned (uint32_t *value) |
| |
| bool | CheckForUnsignedBelow (uint32_t limit, uint32_t *value) |
| |
| AsmJsScanner::token_t | Consume () |
| |
| void | SkipSemicolon () |
| |
| VarInfo * | GetVarInfo (AsmJsScanner::token_t token) |
| |
| uint32_t | VarIndex (VarInfo *info) |
| |
| void | DeclareGlobal (VarInfo *info, bool mutable_variable, AsmType *type, ValueType vtype, WasmInitExpr init) |
| |
| void | DeclareStdlibFunc (VarInfo *info, VarKind kind, AsmType *type) |
| |
| void | AddGlobalImport (base::Vector< const char > name, AsmType *type, ValueType vtype, bool mutable_variable, VarInfo *info) |
| |
| uint32_t | TempVariable (int index) |
| |
| base::Vector< const char > | CopyCurrentIdentifierString () |
| |
| void | BareBegin (BlockKind kind, AsmJsScanner::token_t label=0) |
| |
| void | BareEnd () |
| |
| int | FindContinueLabelDepth (AsmJsScanner::token_t label) |
| |
| int | FindBreakLabelDepth (AsmJsScanner::token_t label) |
| |
| void | Begin (AsmJsScanner::token_t label=0) |
| |
| void | Loop (AsmJsScanner::token_t label=0) |
| |
| void | End () |
| |
| void | InitializeStdlibTypes () |
| |
| FunctionSig * | ConvertSignature (AsmType *return_type, const ZoneVector< AsmType * > ¶ms) |
| |
| void | ValidateModule () |
| |
| void | ValidateModuleParameters () |
| |
| void | ValidateModuleVars () |
| |
| void | ValidateModuleVar (bool mutable_variable) |
| |
| void | ValidateModuleVarImport (VarInfo *info, bool mutable_variable) |
| |
| void | ValidateModuleVarStdlib (VarInfo *info) |
| |
| void | ValidateModuleVarNewStdlib (VarInfo *info) |
| |
| void | ValidateModuleVarFromGlobal (VarInfo *info, bool mutable_variable) |
| |
| void | ValidateExport () |
| |
| void | ValidateFunctionTable () |
| |
| void | ValidateFunction () |
| |
| void | ValidateFunctionParams (ZoneVector< AsmType * > *params) |
| |
| void | ValidateFunctionLocals (size_t param_count, ZoneVector< ValueType > *locals) |
| |
| void | ValidateStatement () |
| |
| void | Block () |
| |
| void | ExpressionStatement () |
| |
| void | EmptyStatement () |
| |
| void | IfStatement () |
| |
| void | ReturnStatement () |
| |
| bool | IterationStatement () |
| |
| void | WhileStatement () |
| |
| void | DoStatement () |
| |
| void | ForStatement () |
| |
| void | BreakStatement () |
| |
| void | ContinueStatement () |
| |
| void | LabelledStatement () |
| |
| void | SwitchStatement () |
| |
| void | ValidateCase () |
| |
| void | ValidateDefault () |
| |
| AsmType * | ValidateExpression () |
| |
| AsmType * | Expression (AsmType *expect) |
| |
| AsmType * | NumericLiteral () |
| |
| AsmType * | Identifier () |
| |
| AsmType * | CallExpression () |
| |
| AsmType * | MemberExpression () |
| |
| AsmType * | AssignmentExpression () |
| |
| AsmType * | UnaryExpression () |
| |
| AsmType * | MultiplicativeExpression () |
| |
| AsmType * | AdditiveExpression () |
| |
| AsmType * | ShiftExpression () |
| |
| AsmType * | RelationalExpression () |
| |
| AsmType * | EqualityExpression () |
| |
| AsmType * | BitwiseANDExpression () |
| |
| AsmType * | BitwiseXORExpression () |
| |
| AsmType * | BitwiseORExpression () |
| |
| AsmType * | ConditionalExpression () |
| |
| AsmType * | ParenthesizedExpression () |
| |
| AsmType * | ValidateCall () |
| |
| bool | PeekCall () |
| |
| void | ValidateHeapAccess () |
| |
| void | ValidateFloatCoercion () |
| |
| void | ScanToClosingParenthesis () |
| |
| void | GatherCases (ZoneVector< int32_t > *cases) |
| |
Definition at line 33 of file asm-parser.h.
◆ StdlibSet
◆ BlockKind
| Enumerator |
|---|
| kRegular | |
| kLoop | |
| kNamed | |
| kOther | |
Definition at line 119 of file asm-parser.h.
◆ StandardMember
◆ VarKind
| Enumerator |
|---|
| kUnused | |
| kLocal | |
| kGlobal | |
| kSpecial | |
| kFunction | |
| kTable | |
| kImportedFunction | |
| V | |
| V | |
Definition at line 63 of file asm-parser.h.
◆ AsmJsParser()
◆ AddGlobalImport()
◆ AdditiveExpression()
| AsmType * v8::internal::wasm::AsmJsParser::AdditiveExpression |
( |
| ) |
|
|
private |
◆ AssignmentExpression()
| AsmType * v8::internal::wasm::AsmJsParser::AssignmentExpression |
( |
| ) |
|
|
private |
◆ BareBegin()
◆ BareEnd()
| void v8::internal::wasm::AsmJsParser::BareEnd |
( |
| ) |
|
|
private |
◆ Begin()
◆ BitwiseANDExpression()
| AsmType * v8::internal::wasm::AsmJsParser::BitwiseANDExpression |
( |
| ) |
|
|
private |
◆ BitwiseORExpression()
| AsmType * v8::internal::wasm::AsmJsParser::BitwiseORExpression |
( |
| ) |
|
|
private |
◆ BitwiseXORExpression()
| AsmType * v8::internal::wasm::AsmJsParser::BitwiseXORExpression |
( |
| ) |
|
|
private |
◆ Block()
| void v8::internal::wasm::AsmJsParser::Block |
( |
| ) |
|
|
private |
◆ BreakStatement()
| void v8::internal::wasm::AsmJsParser::BreakStatement |
( |
| ) |
|
|
private |
◆ CallExpression()
| AsmType * v8::internal::wasm::AsmJsParser::CallExpression |
( |
| ) |
|
|
private |
◆ Check()
◆ CheckForDouble()
| bool v8::internal::wasm::AsmJsParser::CheckForDouble |
( |
double * | value | ) |
|
|
inlineprivate |
◆ CheckForUnsigned()
| bool v8::internal::wasm::AsmJsParser::CheckForUnsigned |
( |
uint32_t * | value | ) |
|
|
inlineprivate |
◆ CheckForUnsignedBelow()
| bool v8::internal::wasm::AsmJsParser::CheckForUnsignedBelow |
( |
uint32_t | limit, |
|
|
uint32_t * | value ) |
|
inlineprivate |
◆ CheckForZero()
| bool v8::internal::wasm::AsmJsParser::CheckForZero |
( |
| ) |
|
|
inlineprivate |
◆ ConditionalExpression()
| AsmType * v8::internal::wasm::AsmJsParser::ConditionalExpression |
( |
| ) |
|
|
private |
◆ Consume()
◆ ContinueStatement()
| void v8::internal::wasm::AsmJsParser::ContinueStatement |
( |
| ) |
|
|
private |
◆ ConvertSignature()
◆ CopyCurrentIdentifierString()
| base::Vector< const char > v8::internal::wasm::AsmJsParser::CopyCurrentIdentifierString |
( |
| ) |
|
|
private |
◆ DeclareGlobal()
◆ DeclareStdlibFunc()
◆ DoStatement()
| void v8::internal::wasm::AsmJsParser::DoStatement |
( |
| ) |
|
|
private |
◆ EmptyStatement()
| void v8::internal::wasm::AsmJsParser::EmptyStatement |
( |
| ) |
|
|
private |
◆ End()
| void v8::internal::wasm::AsmJsParser::End |
( |
| ) |
|
|
private |
◆ EqualityExpression()
| AsmType * v8::internal::wasm::AsmJsParser::EqualityExpression |
( |
| ) |
|
|
private |
◆ Expression()
| AsmType * v8::internal::wasm::AsmJsParser::Expression |
( |
AsmType * | expect | ) |
|
|
private |
◆ ExpressionStatement()
| void v8::internal::wasm::AsmJsParser::ExpressionStatement |
( |
| ) |
|
|
private |
◆ failure_location()
| int v8::internal::wasm::AsmJsParser::failure_location |
( |
| ) |
const |
|
inline |
◆ failure_message()
| const char * v8::internal::wasm::AsmJsParser::failure_message |
( |
| ) |
const |
|
inline |
◆ FindBreakLabelDepth()
◆ FindContinueLabelDepth()
◆ ForStatement()
| void v8::internal::wasm::AsmJsParser::ForStatement |
( |
| ) |
|
|
private |
◆ GatherCases()
| void v8::internal::wasm::AsmJsParser::GatherCases |
( |
ZoneVector< int32_t > * | cases | ) |
|
|
private |
◆ GetVarInfo()
◆ Identifier()
| AsmType * v8::internal::wasm::AsmJsParser::Identifier |
( |
| ) |
|
|
private |
◆ IfStatement()
| void v8::internal::wasm::AsmJsParser::IfStatement |
( |
| ) |
|
|
private |
◆ InitializeStdlibTypes()
| void v8::internal::wasm::AsmJsParser::InitializeStdlibTypes |
( |
| ) |
|
|
private |
◆ IterationStatement()
| bool v8::internal::wasm::AsmJsParser::IterationStatement |
( |
| ) |
|
|
private |
◆ LabelledStatement()
| void v8::internal::wasm::AsmJsParser::LabelledStatement |
( |
| ) |
|
|
private |
◆ Loop()
◆ MemberExpression()
| AsmType * v8::internal::wasm::AsmJsParser::MemberExpression |
( |
| ) |
|
|
private |
◆ module_builder()
◆ MultiplicativeExpression()
| AsmType * v8::internal::wasm::AsmJsParser::MultiplicativeExpression |
( |
| ) |
|
|
private |
◆ NumericLiteral()
| AsmType * v8::internal::wasm::AsmJsParser::NumericLiteral |
( |
| ) |
|
|
private |
◆ ParenthesizedExpression()
| AsmType * v8::internal::wasm::AsmJsParser::ParenthesizedExpression |
( |
| ) |
|
|
private |
◆ Peek()
◆ PeekCall()
| bool v8::internal::wasm::AsmJsParser::PeekCall |
( |
| ) |
|
|
private |
◆ PeekForZero()
| bool v8::internal::wasm::AsmJsParser::PeekForZero |
( |
| ) |
|
|
inlineprivate |
◆ RelationalExpression()
| AsmType * v8::internal::wasm::AsmJsParser::RelationalExpression |
( |
| ) |
|
|
private |
◆ ReturnStatement()
| void v8::internal::wasm::AsmJsParser::ReturnStatement |
( |
| ) |
|
|
private |
◆ Run()
| bool v8::internal::wasm::AsmJsParser::Run |
( |
| ) |
|
◆ ScanToClosingParenthesis()
| void v8::internal::wasm::AsmJsParser::ScanToClosingParenthesis |
( |
| ) |
|
|
private |
◆ ShiftExpression()
| AsmType * v8::internal::wasm::AsmJsParser::ShiftExpression |
( |
| ) |
|
|
private |
◆ SkipSemicolon()
| void v8::internal::wasm::AsmJsParser::SkipSemicolon |
( |
| ) |
|
|
private |
◆ stdlib_uses()
| const StdlibSet * v8::internal::wasm::AsmJsParser::stdlib_uses |
( |
| ) |
const |
|
inline |
◆ SwitchStatement()
| void v8::internal::wasm::AsmJsParser::SwitchStatement |
( |
| ) |
|
|
private |
◆ TempVariable()
| uint32_t v8::internal::wasm::AsmJsParser::TempVariable |
( |
int | index | ) |
|
|
private |
◆ UnaryExpression()
| AsmType * v8::internal::wasm::AsmJsParser::UnaryExpression |
( |
| ) |
|
|
private |
◆ ValidateCall()
| AsmType * v8::internal::wasm::AsmJsParser::ValidateCall |
( |
| ) |
|
|
private |
◆ ValidateCase()
| void v8::internal::wasm::AsmJsParser::ValidateCase |
( |
| ) |
|
|
private |
◆ ValidateDefault()
| void v8::internal::wasm::AsmJsParser::ValidateDefault |
( |
| ) |
|
|
private |
◆ ValidateExport()
| void v8::internal::wasm::AsmJsParser::ValidateExport |
( |
| ) |
|
|
private |
◆ ValidateExpression()
| AsmType * v8::internal::wasm::AsmJsParser::ValidateExpression |
( |
| ) |
|
|
private |
◆ ValidateFloatCoercion()
| void v8::internal::wasm::AsmJsParser::ValidateFloatCoercion |
( |
| ) |
|
|
private |
◆ ValidateFunction()
| void v8::internal::wasm::AsmJsParser::ValidateFunction |
( |
| ) |
|
|
private |
◆ ValidateFunctionLocals()
◆ ValidateFunctionParams()
◆ ValidateFunctionTable()
| void v8::internal::wasm::AsmJsParser::ValidateFunctionTable |
( |
| ) |
|
|
private |
◆ ValidateHeapAccess()
| void v8::internal::wasm::AsmJsParser::ValidateHeapAccess |
( |
| ) |
|
|
private |
◆ ValidateModule()
| void v8::internal::wasm::AsmJsParser::ValidateModule |
( |
| ) |
|
|
private |
◆ ValidateModuleParameters()
| void v8::internal::wasm::AsmJsParser::ValidateModuleParameters |
( |
| ) |
|
|
private |
◆ ValidateModuleVar()
| void v8::internal::wasm::AsmJsParser::ValidateModuleVar |
( |
bool | mutable_variable | ) |
|
|
private |
◆ ValidateModuleVarFromGlobal()
| void v8::internal::wasm::AsmJsParser::ValidateModuleVarFromGlobal |
( |
VarInfo * | info, |
|
|
bool | mutable_variable ) |
|
private |
◆ ValidateModuleVarImport()
| void v8::internal::wasm::AsmJsParser::ValidateModuleVarImport |
( |
VarInfo * | info, |
|
|
bool | mutable_variable ) |
|
private |
◆ ValidateModuleVarNewStdlib()
| void v8::internal::wasm::AsmJsParser::ValidateModuleVarNewStdlib |
( |
VarInfo * | info | ) |
|
|
private |
◆ ValidateModuleVars()
| void v8::internal::wasm::AsmJsParser::ValidateModuleVars |
( |
| ) |
|
|
private |
◆ ValidateModuleVarStdlib()
| void v8::internal::wasm::AsmJsParser::ValidateModuleVarStdlib |
( |
VarInfo * | info | ) |
|
|
private |
◆ ValidateStatement()
| void v8::internal::wasm::AsmJsParser::ValidateStatement |
( |
| ) |
|
|
private |
◆ VarIndex()
| uint32_t v8::internal::wasm::AsmJsParser::VarIndex |
( |
VarInfo * | info | ) |
|
|
private |
◆ WhileStatement()
| void v8::internal::wasm::AsmJsParser::WhileStatement |
( |
| ) |
|
|
private |
◆ zone()
| Zone * v8::internal::wasm::AsmJsParser::zone |
( |
| ) |
|
|
inlineprivate |
◆ block_stack_
◆ cached_asm_type_p_vectors_
◆ cached_int_vectors_
◆ cached_token_t_vectors_
◆ cached_valuetype_vectors_
◆ call_coercion_
| AsmType* v8::internal::wasm::AsmJsParser::call_coercion_ = nullptr |
|
private |
◆ call_coercion_deferred_
| AsmType* v8::internal::wasm::AsmJsParser::call_coercion_deferred_ = nullptr |
|
private |
◆ call_coercion_deferred_position_
| size_t v8::internal::wasm::AsmJsParser::call_coercion_deferred_position_ |
|
private |
◆ call_coercion_position_
| size_t v8::internal::wasm::AsmJsParser::call_coercion_position_ |
|
private |
◆ current_function_builder_
◆ failed_
| bool v8::internal::wasm::AsmJsParser::failed_ = false |
|
private |
◆ failure_location_
◆ failure_message_
| const char* v8::internal::wasm::AsmJsParser::failure_message_ |
|
private |
◆ foreign_name_
◆ function_temp_locals_depth_
| int v8::internal::wasm::AsmJsParser::function_temp_locals_depth_ |
|
private |
◆ function_temp_locals_offset_
| int v8::internal::wasm::AsmJsParser::function_temp_locals_offset_ |
|
private |
◆ function_temp_locals_used_
| int v8::internal::wasm::AsmJsParser::function_temp_locals_used_ |
|
private |
◆ global_imports_
◆ global_var_info_
◆ heap_access_shift_position_
| size_t v8::internal::wasm::AsmJsParser::heap_access_shift_position_ |
|
private |
◆ heap_access_shift_value_
| uint32_t v8::internal::wasm::AsmJsParser::heap_access_shift_value_ |
|
private |
◆ heap_access_type_
| AsmType* v8::internal::wasm::AsmJsParser::heap_access_type_ = nullptr |
|
private |
◆ heap_name_
◆ inside_heap_assignment_
| bool v8::internal::wasm::AsmJsParser::inside_heap_assignment_ = false |
|
private |
◆ kNoHeapAccessShift
| const size_t v8::internal::wasm::AsmJsParser::kNoHeapAccessShift = -1 |
|
staticprivate |
◆ kTokenNone
◆ local_var_info_
◆ module_builder_
◆ num_globals_
| size_t v8::internal::wasm::AsmJsParser::num_globals_ = 0 |
|
private |
◆ pending_label_
◆ return_type_
| AsmType* v8::internal::wasm::AsmJsParser::return_type_ = nullptr |
|
private |
◆ scanner_
◆ stack_limit_
| uintptr_t v8::internal::wasm::AsmJsParser::stack_limit_ |
|
private |
◆ stdlib_abs_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_abs_ |
|
private |
◆ stdlib_ceil_like_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_ceil_like_ |
|
private |
◆ stdlib_dq2d_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_dq2d_ |
|
private |
◆ stdlib_dqdq2d_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_dqdq2d_ |
|
private |
◆ stdlib_fround_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_fround_ |
|
private |
◆ stdlib_i2s_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_i2s_ |
|
private |
◆ stdlib_ii2s_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_ii2s_ |
|
private |
◆ stdlib_minmax_
| AsmType* v8::internal::wasm::AsmJsParser::stdlib_minmax_ |
|
private |
◆ stdlib_name_
◆ stdlib_uses_
| StdlibSet v8::internal::wasm::AsmJsParser::stdlib_uses_ |
|
private |
◆ zone_
| Zone* v8::internal::wasm::AsmJsParser::zone_ |
|
private |
The documentation for this class was generated from the following files: