Home
last modified time | relevance | path

Searched refs:jump_table (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/interpreter/
Dbytecode-array-writer.cc144 BytecodeJumpTable* jump_table) { in WriteSwitch() argument
152 EmitSwitch(node, jump_table); in WriteSwitch()
172 void BytecodeArrayWriter::BindJumpTableEntry(BytecodeJumpTable* jump_table, in BindJumpTableEntry() argument
174 DCHECK(!jump_table->is_bound(case_value)); in BindJumpTableEntry()
177 size_t relative_jump = current_offset - jump_table->switch_bytecode_offset(); in BindJumpTableEntry()
180 jump_table->ConstantPoolEntryFor(case_value), in BindJumpTableEntry()
182 jump_table->mark_bound(case_value); in BindJumpTableEntry()
516 BytecodeJumpTable* jump_table) { in EmitSwitch() argument
524 jump_table->set_switch_bytecode_offset(current_offset); in EmitSwitch()
Dbytecode-array-writer.h45 void WriteSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table);
48 void BindJumpTableEntry(BytecodeJumpTable* jump_table, int case_value);
100 void EmitSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table);
Dbytecode-array-builder.cc186 BytecodeJumpTable* jump_table) { in WriteSwitch() argument
188 bytecode_array_writer_.WriteSwitch(node, jump_table); in WriteSwitch()
387 BytecodeJumpTable* jump_table) { in OutputSwitchOnSmiNoFeedback() argument
389 jump_table->constant_pool_index(), jump_table->size(), in OutputSwitchOnSmiNoFeedback()
390 jump_table->case_value_base())); in OutputSwitchOnSmiNoFeedback()
391 WriteSwitch(&node, jump_table); in OutputSwitchOnSmiNoFeedback()
1116 BytecodeArrayBuilder& BytecodeArrayBuilder::Bind(BytecodeJumpTable* jump_table, in Bind() argument
1121 bytecode_array_writer_.BindJumpTableEntry(jump_table, case_value); in Bind()
1278 BytecodeJumpTable* jump_table) { in SwitchOnSmiNoFeedback() argument
1279 OutputSwitchOnSmiNoFeedback(jump_table); in SwitchOnSmiNoFeedback()
[all …]
Dbytecode-array-builder.h427 BytecodeArrayBuilder& Bind(BytecodeJumpTable* jump_table, int case_value);
446 BytecodeArrayBuilder& SwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
482 BytecodeJumpTable* jump_table);
599 V8_INLINE void OutputSwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
Dcontrol-flow-builders.h157 BytecodeJumpTable* jump_table) in SwitchBuilder() argument
162 jump_table_(jump_table) { in SwitchBuilder()
Dbytecode-generator.cc285 BytecodeJumpTable* jump_table = in ApplyDeferredCommands() local
289 .SwitchOnSmiNoFeedback(jump_table) in ApplyDeferredCommands()
292 builder()->Bind(jump_table, entry.token); in ApplyDeferredCommands()
1995 BytecodeJumpTable* jump_table = nullptr; in VisitSwitchStatement() local
2004 jump_table = builder()->AllocateJumpTable( in VisitSwitchStatement()
2012 n_comp_cases, jump_table); in VisitSwitchStatement()
4723 BytecodeJumpTable* jump_table = in VisitYield() local
4726 builder()->SwitchOnSmiNoFeedback(jump_table); in VisitYield()
4739 builder()->Bind(jump_table, JSGeneratorObject::kReturn); in VisitYield()
4750 builder()->Bind(jump_table, JSGeneratorObject::kNext); in VisitYield()
/third_party/node/deps/v8/src/wasm/
Dwasm-code-manager.cc1035 code_space_data_[0].jump_table = main_jump_table_; in ReserveCodeTableForTesting()
1530 DCHECK_IMPLIES(code_space_data.jump_table, code_space_data.far_jump_table); in PatchJumpTablesLocked()
1531 if (!code_space_data.jump_table) continue; in PatchJumpTablesLocked()
1540 DCHECK_NOT_NULL(code_space_data.jump_table); in PatchJumpTableLocked()
1545 if (code_space_data.jump_table->instructions().end() == in PatchJumpTableLocked()
1548 code_space_data.jump_table->instructions().begin(), in PatchJumpTableLocked()
1549 code_space_data.jump_table->instructions().size() + in PatchJumpTableLocked()
1554 AddressRegionOf(code_space_data.jump_table->instructions())); in PatchJumpTableLocked()
1561 code_space_data.jump_table->instruction_start() + in PatchJumpTableLocked()
1606 WasmCode* jump_table = nullptr; in AddCodeSpaceLocked() local
[all …]
Dwasm-code-manager.h861 WasmCode* jump_table; member
/third_party/node/deps/v8/src/baseline/x64/
Dbaseline-assembler-x64-inl.h427 Label fallthrough, jump_table;
433 __ leaq(table, MemOperand(&jump_table));
437 __ bind(&jump_table);
/third_party/node/deps/v8/src/baseline/ia32/
Dbaseline-assembler-ia32-inl.h427 Label fallthrough, jump_table;
433 __ lea(table, MemOperand(&jump_table));
437 __ bind(&jump_table);
/third_party/node/deps/v8/src/baseline/s390/
Dbaseline-assembler-s390-inl.h596 Label fallthrough, jump_table;
608 __ larl(r1, &jump_table);
612 __ bind(&jump_table);