summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-06-08 23:23:08 +0000
committerCraig Topper <craig.topper@gmail.com>2017-06-08 23:23:08 +0000
commitc1993fa1a3ec2e9c9722879ea9cb80d9a3cacce2 (patch)
tree743a3b5c18880bc863e2ca1771211270bc5a46e9 /llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp
parente357fbd24381d03238e2f4487fd7ff3acfc53b19 (diff)
downloadbcm5719-llvm-c1993fa1a3ec2e9c9722879ea9cb80d9a3cacce2.tar.gz
bcm5719-llvm-c1993fa1a3ec2e9c9722879ea9cb80d9a3cacce2.zip
[IR] Remove getNumSuccessorsV/getSuccessorV/setSuccessorV from the TerminatorInst subclasses as much as possible now that Value has been de-virtualized
These used to be virtual methods that would enable doing the right thing with only a TerminatorInst pointer. I believe they were also acting as vtable anchors in my cases. I think the fact that they had a separate name ending in V was to allow a version without V to be called without a virtual call in a pre-C++11 final keyword world. Where possible the base methods in TerminatorInst dispatch directly to the public methods in the classes that have the same signature. For some classes this wasn't possible so I've left private method versions that match the name and signature of the version in TerminatorInst. All versions have been moved into the class definitions since we no longer need vtable anchors here. Differential Revision: https://reviews.llvm.org/D34011 llvm-svn: 305028
Diffstat (limited to 'llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud