mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 13:40:30 +00:00
Replace two calls to object::symbol_iterator::increment(), which had
been removed in r200442. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206196 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1d9c0934a0
commit
03e18573d4
@ -170,11 +170,8 @@ void OProfileJITEventListener::NotifyObjectEmitted(const ObjectImage &Obj) {
|
||||
}
|
||||
|
||||
// Use symbol info to iterate functions in the object.
|
||||
error_code ec;
|
||||
for (object::symbol_iterator I = Obj.begin_symbols(),
|
||||
E = Obj.end_symbols();
|
||||
I != E && !ec;
|
||||
I.increment(ec)) {
|
||||
for (object::symbol_iterator I = Obj.begin_symbols(), E = Obj.end_symbols();
|
||||
I != E; ++I) {
|
||||
object::SymbolRef::Type SymType;
|
||||
if (I->getType(SymType)) continue;
|
||||
if (SymType == object::SymbolRef::ST_Function) {
|
||||
@ -203,11 +200,8 @@ void OProfileJITEventListener::NotifyFreeingObject(const ObjectImage &Obj) {
|
||||
}
|
||||
|
||||
// Use symbol info to iterate functions in the object.
|
||||
error_code ec;
|
||||
for (object::symbol_iterator I = Obj.begin_symbols(),
|
||||
E = Obj.end_symbols();
|
||||
I != E && !ec;
|
||||
I.increment(ec)) {
|
||||
for (object::symbol_iterator I = Obj.begin_symbols(), E = Obj.end_symbols();
|
||||
I != E; ++I) {
|
||||
object::SymbolRef::Type SymType;
|
||||
if (I->getType(SymType)) continue;
|
||||
if (SymType == object::SymbolRef::ST_Function) {
|
||||
|
Loading…
Reference in New Issue
Block a user