Changeset 828 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/Subroutine.cpp
- Timestamp:
- Mar 19, 2012, 1:59:48 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to
/branches/egtra merged eligible
-
Property svn:mergeinfo
set to
-
trunk/ab5.0/abdev
-
Property svn:ignore
set to
*.opensdf
*.sdf
*.suo
*.user
int
ipch
out
-
Property svn:ignore
set to
-
trunk/ab5.0/abdev/BasicCompiler_Common/Subroutine.cpp
r751 r828 319 319 320 320 bool IsNeedProcCompile(){ 321 compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset(); 322 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 323 { 324 UserProc *pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext(); 321 foreach (auto pUserProc, compiler.GetObjectModule().meta.GetUserProcs()) 322 { 325 323 if( pUserProc->IsUsing() && pUserProc->IsCompiled() == false ){ 326 324 return true; … … 385 383 386 384 repeat: 387 compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset(); 388 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 389 { 390 UserProc *pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext(); 385 foreach (auto pUserProc, compiler.GetObjectModule().meta.GetUserProcs()) 386 { 391 387 CompileBufferInProcedure( *pUserProc ); 392 388 } … … 410 406 //プロシージャコンパイルによって、プロシージャコンパイルが必要になる場合 411 407 412 compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset(); 413 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 408 foreach(auto pUserProc, compiler.GetObjectModule().meta.GetUserProcs()) 414 409 { 415 UserProc *pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext();416 410 CompileBufferInProcedure( *pUserProc ); 417 411 }
Note:
See TracChangeset
for help on using the changeset viewer.