mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Clear the stub map in getSortedStubs.
This makes sure they are only output once (and frees a bit of memory). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -58,14 +58,14 @@ namespace llvm {
|
||||
}
|
||||
|
||||
/// Accessor methods to return the set of stubs in sorted order.
|
||||
SymbolListTy GetFnStubList() const {
|
||||
return GetSortedStubs(FnStubs);
|
||||
SymbolListTy GetFnStubList() {
|
||||
return getSortedStubs(FnStubs);
|
||||
}
|
||||
SymbolListTy GetGVStubList() const {
|
||||
return GetSortedStubs(GVStubs);
|
||||
SymbolListTy GetGVStubList() {
|
||||
return getSortedStubs(GVStubs);
|
||||
}
|
||||
SymbolListTy GetHiddenGVStubList() const {
|
||||
return GetSortedStubs(HiddenGVStubs);
|
||||
SymbolListTy GetHiddenGVStubList() {
|
||||
return getSortedStubs(HiddenGVStubs);
|
||||
}
|
||||
};
|
||||
|
||||
@ -87,8 +87,8 @@ namespace llvm {
|
||||
|
||||
/// Accessor methods to return the set of stubs in sorted order.
|
||||
|
||||
SymbolListTy GetGVStubList() const {
|
||||
return GetSortedStubs(GVStubs);
|
||||
SymbolListTy GetGVStubList() {
|
||||
return getSortedStubs(GVStubs);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user