[llvm-branch-commits] [llvm] [MC][NFC] Statically allocate storage for decoded pseudo probes and function records (PR #102789)
Lei Wang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Aug 13 23:40:07 PDT 2024
================
@@ -276,17 +278,35 @@ class MCPseudoProbeInlineTree
};
// inline tree node for the decoded pseudo probe
-class MCDecodedPseudoProbeInlineTree
- : public MCPseudoProbeInlineTreeBase<MCDecodedPseudoProbe *,
- MCDecodedPseudoProbeInlineTree> {
+class MCDecodedPseudoProbeInlineTree {
----------------
wlei-llvm wrote:
Now that this class is no longer derived from `MCPseudoProbeInlineTreeBase`, `MCPseudoProbeInlineTree ` will be the only derived class of`MCPseudoProbeInlineTreeBase`, there is no need for the base class? we may need to refactor it.
https://github.com/llvm/llvm-project/pull/102789
More information about the llvm-branch-commits
mailing list