* Emits an instruction to load a pointer into the corresponding argno * register. */
| 454 | * register. |
| 455 | */ |
| 456 | static void sendLoadPointerMetadata(FILE *out, CallInfo &info, |
| 457 | bool _static, intptr_t static_ptr, const char *dynamic_ptr, int regno) |
| 458 | { |
| 459 | if (_static || !info.pic) |
| 460 | sendLoadValueMetadata(out, static_ptr, regno); |
| 461 | else |
| 462 | sendLeaFromPCRelToR64(out, dynamic_ptr, regno); |
| 463 | } |
| 464 | static void sendLoadPointerMetadata(FILE *out, CallInfo &info, bool _static, |
| 465 | intptr_t ptr, int regno) |
| 466 | { |
no test coverage detected