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/
H A Dbytecode-array-writer.cc144 BytecodeJumpTable* jump_table) { in WriteSwitch()
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()
524 jump_table->set_switch_bytecode_offset(current_offset); in EmitSwitch()
143 WriteSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table) WriteSwitch() argument
515 EmitSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table) EmitSwitch() argument
H A 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);
H A Dbytecode-array-builder.cc186 BytecodeJumpTable* jump_table) { in WriteSwitch()
188 bytecode_array_writer_.WriteSwitch(node, jump_table); in WriteSwitch()
387 BytecodeJumpTable* jump_table) { in OutputSwitchOnSmiNoFeedback()
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()
185 WriteSwitch(BytecodeNode* node, BytecodeJumpTable* jump_table) WriteSwitch() argument
386 OutputSwitchOnSmiNoFeedback( BytecodeJumpTable* jump_table) OutputSwitchOnSmiNoFeedback() argument
1277 SwitchOnSmiNoFeedback( BytecodeJumpTable* jump_table) SwitchOnSmiNoFeedback() argument
1394 SwitchOnGeneratorState( Register generator, BytecodeJumpTable* jump_table) SwitchOnGeneratorState() argument
[all...]
H A Dcontrol-flow-builders.h157 BytecodeJumpTable* jump_table) in SwitchBuilder()
162 jump_table_(jump_table) { in SwitchBuilder()
154 SwitchBuilder(BytecodeArrayBuilder* builder, BlockCoverageBuilder* block_coverage_builder, SwitchStatement* statement, int number_of_cases, BytecodeJumpTable* jump_table) SwitchBuilder() argument
H A 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);
H A 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() local
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, JSGeneratorObjec in VisitYield()
[all...]
/third_party/node/deps/v8/src/wasm/
H A 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 in AddCodeSpaceLocked() local
[all...]
H A Dwasm-code-manager.h861 WasmCode* jump_table; member
/third_party/node/deps/v8/src/baseline/ia32/
H A Dbaseline-assembler-ia32-inl.h427 Label fallthrough, jump_table; in Switch() local
433 __ lea(table, MemOperand(&jump_table)); in Switch()
437 __ bind(&jump_table); in Switch()
/third_party/node/deps/v8/src/baseline/x64/
H A Dbaseline-assembler-x64-inl.h427 Label fallthrough, jump_table; in Switch() local
433 __ leaq(table, MemOperand(&jump_table)); in Switch()
437 __ bind(&jump_table); in Switch()
/third_party/node/deps/v8/src/baseline/s390/
H A Dbaseline-assembler-s390-inl.h596 Label fallthrough, jump_table; in Switch() local
608 __ larl(r1, &jump_table); in Switch()
612 __ bind(&jump_table); in Switch()

Completed in 25 milliseconds