* Set the corresponding trampoline entry. */
| 173 | * Set the corresponding trampoline entry. |
| 174 | */ |
| 175 | void setTrampolineEntry(EntrySet &Es, const Instr *I, intptr_t entry) |
| 176 | { |
| 177 | auto i = Es.find(I->addr); |
| 178 | if (i == Es.end()) |
| 179 | { |
| 180 | if (entry != INTPTR_MIN) |
| 181 | { |
| 182 | EntryPoint E = {I, entry, false, false}; |
| 183 | Es.insert({I->addr, E}); |
| 184 | } |
| 185 | return; |
| 186 | } |
| 187 | EntryPoint &E = i->second; |
| 188 | E.entry = entry; |
| 189 | } |
| 190 | |
| 191 | /* |
| 192 | * Find the instruction at the given address. |
no test coverage detected