Lines Matching defs:Redirection
1545 class Redirection {
1547 Redirection(Isolate* isolate, void* external_function,
1581 static Redirection* Get(Isolate* isolate, void* external_function,
1583 Redirection* current = isolate->simulator_redirection();
1590 return new Redirection(isolate, external_function, type);
1593 static Redirection* FromSwiInstruction(Instruction* swi_instruction) {
1596 addr_of_swi - offsetof(Redirection, swi_instruction_);
1597 return reinterpret_cast<Redirection*>(addr_of_redirection);
1600 static Redirection* FromAddress(void* address) {
1602 ? offsetof(Redirection, function_descriptor_)
1603 : offsetof(Redirection, swi_instruction_);
1605 return reinterpret_cast<Redirection*>(addr_of_redirection);
1609 Redirection* redirection = FromAddress(reinterpret_cast<void*>(reg));
1610 return redirection->external_function();
1613 static void DeleteChain(Redirection* redirection) {
1614 while (redirection != nullptr) {
1615 Redirection* next = redirection->next_;
1616 delete redirection;
1617 redirection = next;
1625 Redirection* next_;
1631 Redirection* first) {
1632 Redirection::DeleteChain(first);
1645 Redirection* redirection = Redirection::Get(isolate, external_function, type);
1646 return redirection->address();
1971 Redirection* redirection = Redirection::FromSwiInstruction(instr);
1976 redirection->type() == ExternalReference::BUILTIN_CALL_TRIPLE ||
1977 (redirection->type() == ExternalReference::BUILTIN_CALL_PAIR &&
1990 (redirection->type() == ExternalReference::BUILTIN_FP_FP_CALL) ||
1991 (redirection->type() == ExternalReference::BUILTIN_COMPARE_CALL) ||
1992 (redirection->type() == ExternalReference::BUILTIN_FP_CALL) ||
1993 (redirection->type() == ExternalReference::BUILTIN_FP_INT_CALL);
2001 reinterpret_cast<intptr_t>(redirection->external_function());
2011 switch (redirection->type()) {
2038 switch (redirection->type()) {
2072 switch (redirection->type()) {
2086 } else if (redirection->type() == ExternalReference::DIRECT_API_CALL) {
2102 } else if (redirection->type() == ExternalReference::PROFILING_API_CALL) {
2118 target(arg[0], Redirection::ReverseRedirection(arg[1]));
2119 } else if (redirection->type() == ExternalReference::DIRECT_GETTER_CALL) {
2139 } else if (redirection->type() ==
2157 target(arg[0], arg[1], Redirection::ReverseRedirection(arg[2]));
2176 if (redirection->type() == ExternalReference::BUILTIN_CALL_TRIPLE) {
2192 if (redirection->type() == ExternalReference::BUILTIN_CALL_PAIR) {
2212 DCHECK(redirection->type() == ExternalReference::BUILTIN_CALL);
2224 // DCHECK(redirection->type() ==
2247 // if (redirection->type() == ExternalReference::BUILTIN_CALL) {
2258 // DCHECK(redirection->type() ==