Ignore:
Timestamp:
Feb 11, 2011, 10:05:14 PM (13 years ago)
Author:
イグトランス (egtra)
Message:

Hashmapの実装にunorderedを用いるよう変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/BasicCompiler_Common/hash.cpp

    r598 r803  
    3333
    3434    // ハッシュ値を取得
    35     DllProc *pDllProc = compiler.GetObjectModule().meta.GetDllProcs().GetHashArrayElement( simpleName );
    36     while(pDllProc){
     35    foreach (auto pDllProc, compiler.GetObjectModule().meta.GetDllProcs().GetHashArrayElement(simpleName))
     36    {
    3737        if( pDllProc->IsEqualSymbol( LexicalAnalyzer::FullNameToSymbol( fullName ) ) ){
    3838            return pDllProc;
    3939        }
    40 
    41         pDllProc=pDllProc->GetChainNext();
    4240    }
    4341
Note: See TracChangeset for help on using the changeset viewer.