Ignore:
Timestamp:
Apr 14, 2007, 8:36:04 PM (17 years ago)
Author:
dai_9181
Message:

New[]を禁止した。
一部の動的型情報が生成されないバグを修正。
As演算子によるダウンキャストを許可(プログラム的なチェックはまだ走っていない)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Subroutine.cpp

    r88 r94  
    792792    Smoothie::Meta::procPointers.clear();
    793793}
     794
     795
     796
     797bool IsNeedProcCompile(){
     798    for(int i2=0;i2<MAX_HASH;i2++){
     799        extern UserProc **ppSubHash;
     800        UserProc *pUserProc=ppSubHash[i2];
     801        while(pUserProc){
     802            if( pUserProc->IsUsing() && pUserProc->IsCompiled() == false ){
     803                return true;
     804            }
     805
     806            pUserProc=pUserProc->pNextData;
     807        }
     808    }
     809    return false;
     810}
Note: See TracChangeset for help on using the changeset viewer.