In the custom vtable mode use a non-static member pointer for Clear instead of the trampoline function. That way the public entry point and the function pointer both end up being the same. Currently, the static function is a separate function than the one called externally, forcing two functions to exist.
Normal mode keeps the existing member function path. In the future we might change this to a static member function instead to avoid the bloat of the member pointer, but that currently affects normal mode and we want to avoid it for now. PiperOrigin-RevId: 672552340pull/18148/head
parent
3431016e91
commit
4ede7d1faf
7 changed files with 13 additions and 19 deletions
Loading…
Reference in new issue