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 @@ -1880,18 +1880,12 @@ Error MCCASBuilder::createDebugAbbrevSection() {
1880
1880
// / Helper class to create DIEDataRefs by keeping track of references to
1881
1881
// / children blocks.
1882
1882
struct DIEDataWriter : public DataWriter {
1883
- // / Add `CASObj` to the list of children of the DIE being created.
1884
- void addRef (DIEDataRef CASObj) { Children.push_back (CASObj.getRef ()); }
1885
1883
1886
1884
// / Saves the main data stream and any children to a new DIEDataRef node.
1887
1885
Expected<DIEDataRef> getCASNode (MCCASBuilder &CASBuilder) {
1888
1886
auto Ref = DIEDataRef::create (CASBuilder, toStringRef (Data));
1889
- Data.clear ();
1890
1887
return Ref;
1891
1888
}
1892
-
1893
- private:
1894
- SmallVector<cas::ObjectRef> Children;
1895
1889
};
1896
1890
1897
1891
// / Helper class to create DIEDistinctDataRefs.
You can’t perform that action at this time.
0 commit comments