Why do some SILNodes use a custom TrailingOperandsList class and other SILNodes use LLVM’s TrailingObjects class? Is this just historical? It seems like the LLVM design is more flushed out and less error prone. What am I missing?
It's just historical—IIRC, TrailingOperandsList predates TrailingObjects.
-Joe
···
On Dec 17, 2017, at 6:52 PM, David Zarzycki via swift-dev <swift-dev@swift.org> wrote:
Hello SIL exports,
Why do some SILNodes use a custom TrailingOperandsList class and other SILNodes use LLVM’s TrailingObjects class? Is this just historical? It seems like the LLVM design is more flushed out and less error prone. What am I missing?