mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Use a range loop. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -348,8 +348,8 @@ void ExecutionEngine::runStaticConstructorsDestructors(Module *module,
|
|||||||
|
|
||||||
void ExecutionEngine::runStaticConstructorsDestructors(bool isDtors) {
|
void ExecutionEngine::runStaticConstructorsDestructors(bool isDtors) {
|
||||||
// Execute global ctors/dtors for each module in the program.
|
// Execute global ctors/dtors for each module in the program.
|
||||||
for (unsigned i = 0, e = Modules.size(); i != e; ++i)
|
for (Module *M : Modules)
|
||||||
runStaticConstructorsDestructors(Modules[i], isDtors);
|
runStaticConstructorsDestructors(M, isDtors);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
|
Reference in New Issue
Block a user