Add has_override and script calls to function resolution cache.

This commit is contained in:
Stephen Chung
2021-02-07 15:09:27 +08:00
parent a54b88a8b0
commit 7b87f81850
6 changed files with 96 additions and 46 deletions

View File

@@ -31,8 +31,9 @@ mod fn_ptr_functions {
false
} else {
let hash_script = calc_script_fn_hash(empty(), fn_name, num_params as usize);
ctx.engine()
.has_override(ctx.mods, ctx.lib, None, hash_script, true)
.has_override(ctx.mods, None, ctx.lib, None, hash_script, true)
}
}
}