#include <stub_code_compiler.h>
|
| StubCodeCompiler (Assembler *assembler_, DescriptorList *pc_descriptors_list) |
|
void | EnsureIsNewOrRemembered () |
|
void | GenerateAllocationStubForClass (UnresolvedPcRelativeCalls *unresolved_calls, const Class &cls, const dart::Code &allocate_object, const dart::Code &allocat_object_parametrized) |
|
void | GenerateNArgsCheckInlineCacheStub (intptr_t num_args, const RuntimeEntry &handle_ic_miss, Token::Kind kind, Optimized optimized, CallType type, Exactness exactness) |
|
void | GenerateNArgsCheckInlineCacheStubForEntryKind (intptr_t num_args, const RuntimeEntry &handle_ic_miss, Token::Kind kind, Optimized optimized, CallType type, Exactness exactness, CodeEntryKind entry_kind) |
|
void | GenerateUsageCounterIncrement (Register temp_reg) |
|
void | GenerateOptimizedUsageCounterIncrement () |
|
Definition at line 53 of file stub_code_compiler.h.
◆ STCSearchExitGenerator
◆ CallType
◆ Exactness
◆ Optimized
◆ StubCodeCompiler()
dart::compiler::StubCodeCompiler::StubCodeCompiler |
( |
Assembler * |
assembler_, |
|
|
DescriptorList * |
pc_descriptors_list |
|
) |
| |
|
inline |
◆ BuildStaticCallsTable()
Definition at line 147 of file stub_code.cc.
149 {
150 if (unresolved_calls->length() == 0) {
152 }
153 const intptr_t array_length =
155 const auto& static_calls_table =
159 for (intptr_t
i = 0;
i < unresolved_calls->length();
i++) {
160 auto& unresolved_call = (*unresolved_calls)[
i];
163 kind_type_and_offset =
167 auto view = entries[
i];
170 }
171 return static_calls_table.ptr();
172}
static ArrayPtr New(intptr_t len, Heap::Space space=Heap::kNew)
static constexpr intptr_t encode(CallKind value)
@ kSCallTableCodeOrTypeTarget
@ kSCallTableKindAndOffset
static SmiPtr New(intptr_t value)
ArrayOfTuplesView< Code::SCallTableEntry, std::tuple< Smi, Object, Function > > StaticCallsTable
◆ EnsureIsNewOrRemembered()
void dart::compiler::StubCodeCompiler::EnsureIsNewOrRemembered |
( |
| ) |
|
◆ GenerateAllocationStubForClass()
◆ GenerateNArgsCheckInlineCacheStub()
◆ GenerateNArgsCheckInlineCacheStubForEntryKind()
◆ GenerateOptimizedUsageCounterIncrement()
void dart::compiler::StubCodeCompiler::GenerateOptimizedUsageCounterIncrement |
( |
| ) |
|
◆ GenerateUsageCounterIncrement()
void dart::compiler::StubCodeCompiler::GenerateUsageCounterIncrement |
( |
Register |
temp_reg | ) |
|
◆ WordOffsetFromFpToCpuRegister()
intptr_t dart::compiler::StubCodeCompiler::WordOffsetFromFpToCpuRegister |
( |
Register |
cpu_register | ) |
|
|
static |
Definition at line 27 of file stub_code_compiler.cc.
28 {
30
34 if (reg == cpu_register) break;
36 slots_from_fp++;
37 }
38 }
39 return slots_from_fp;
40}
bool Contains(Location loc)
constexpr RegList kDartAvailableCpuRegs
intptr_t param_end_from_fp
◆ assembler
Assembler* dart::compiler::StubCodeCompiler::assembler |
The documentation for this class was generated from the following files: