mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Convert a few more function pointer calls to just "f()".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9823db9913
commit
3bff0d2b95
@ -162,7 +162,7 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
|
||||
ld_plugin_register_claim_file callback;
|
||||
callback = tv->tv_u.tv_register_claim_file;
|
||||
|
||||
if ((*callback)(claim_file_hook) != LDPS_OK)
|
||||
if (callback(claim_file_hook) != LDPS_OK)
|
||||
return LDPS_ERR;
|
||||
|
||||
registeredClaimFile = true;
|
||||
@ -171,7 +171,7 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
|
||||
ld_plugin_register_all_symbols_read callback;
|
||||
callback = tv->tv_u.tv_register_all_symbols_read;
|
||||
|
||||
if ((*callback)(all_symbols_read_hook) != LDPS_OK)
|
||||
if (callback(all_symbols_read_hook) != LDPS_OK)
|
||||
return LDPS_ERR;
|
||||
|
||||
RegisteredAllSymbolsRead = true;
|
||||
@ -180,7 +180,7 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
|
||||
ld_plugin_register_cleanup callback;
|
||||
callback = tv->tv_u.tv_register_cleanup;
|
||||
|
||||
if ((*callback)(cleanup_hook) != LDPS_OK)
|
||||
if (callback(cleanup_hook) != LDPS_OK)
|
||||
return LDPS_ERR;
|
||||
} break;
|
||||
case LDPT_ADD_SYMBOLS:
|
||||
|
Loading…
Reference in New Issue
Block a user