diff options
author | Samuel Benzaquen <sbenza@google.com> | 2022-12-01 10:08:04 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-12-01 10:09:01 -0800 |
commit | 1063d2b829bbf1b5cf03f5f8e1e9fe4c71c9f966 (patch) | |
tree | b3b7c59af09d843a93a41fd0614d89df4f1cdff2 /ci/cmake_common.sh | |
parent | a23d720c30e2fff8dde9605bcabe39ce5b4069fc (diff) |
Move the vtable into a function to delay instantiation until the function is
called. When the variable is a global the compiler is allowed to instantiate it more
aggresively and it might happen before the types involved are complete.
When it is inside a function the compiler can't instantiate it until after the
functions are called.
Remove an unused member from the vtable.
Replace transfer_slot_fn with a generic function when relocation is available to reduce duplication.
PiperOrigin-RevId: 492227302
Change-Id: I07499f63b91c59c0ae42402683387c7b84a6f0ee
Diffstat (limited to 'ci/cmake_common.sh')
0 files changed, 0 insertions, 0 deletions