File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1887,18 +1887,12 @@ Error MCCASBuilder::createDebugAbbrevSection() {
1887
1887
// / Helper class to create DIEDataRefs by keeping track of references to
1888
1888
// / children blocks.
1889
1889
struct DIEDataWriter : public DataWriter {
1890
- // / Add `CASObj` to the list of children of the DIE being created.
1891
- void addRef (DIEDataRef CASObj) { Children.push_back (CASObj.getRef ()); }
1892
1890
1893
1891
// / Saves the main data stream and any children to a new DIEDataRef node.
1894
1892
Expected<DIEDataRef> getCASNode (MCCASBuilder &CASBuilder) {
1895
1893
auto Ref = DIEDataRef::create (CASBuilder, toStringRef (Data));
1896
- Data.clear ();
1897
1894
return Ref;
1898
1895
}
1899
-
1900
- private:
1901
- SmallVector<cas::ObjectRef> Children;
1902
1896
};
1903
1897
1904
1898
// / Helper class to create DIEDistinctDataRefs.
You can’t perform that action at this time.
0 commit comments