Lines Matching refs:redirection
1001 class Redirection {
1003 Redirection(Isolate* isolate, void* external_function,
1024 static Redirection* Get(Isolate* isolate, void* external_function,
1026 Redirection* current = isolate->simulator_redirection();
1030 return new Redirection(isolate, external_function, type);
1033 static Redirection* FromSwiInstruction(Instruction* swi_instruction) {
1036 addr_of_swi - offsetof(Redirection, swi_instruction_);
1037 return reinterpret_cast<Redirection*>(addr_of_redirection);
1041 Redirection* redirection = FromSwiInstruction(
1043 return redirection->external_function();
1046 static void DeleteChain(Redirection* redirection) {
1047 while (redirection != nullptr) {
1048 Redirection* next = redirection->next_;
1049 delete redirection;
1050 redirection = next;
1058 Redirection* next_;
1063 void Simulator::TearDown(HashMap* i_cache, Redirection* first) {
1064 Redirection::DeleteChain(first);
1078 Redirection* redirection = Redirection::Get(isolate, external_function, type);
1079 return redirection->address_of_swi_instruction();
2000 Redirection* redirection = Redirection::FromSwiInstruction(instr);
2012 (redirection->type() == ExternalReference::BUILTIN_FP_FP_CALL) ||
2013 (redirection->type() == ExternalReference::BUILTIN_COMPARE_CALL) ||
2014 (redirection->type() == ExternalReference::BUILTIN_FP_CALL) ||
2015 (redirection->type() == ExternalReference::BUILTIN_FP_INT_CALL);
2022 switch (redirection->type()) {
2066 reinterpret_cast<intptr_t>(redirection->external_function());
2081 switch (redirection->type()) {
2100 switch (redirection->type()) {
2135 switch (redirection->type()) {
2149 } else if (redirection->type() == ExternalReference::DIRECT_API_CALL) {
2158 redirection->type() == ExternalReference::PROFILING_API_CALL) {
2165 target(arg0, Redirection::ReverseRedirection(arg1));
2167 redirection->type() == ExternalReference::DIRECT_GETTER_CALL) {
2176 redirection->type() == ExternalReference::PROFILING_GETTER_CALL) {
2183 target(arg0, arg1, Redirection::ReverseRedirection(arg2));