Ignore:
Timestamp:
May 18, 2007, 4:42:36 AM (17 years ago)
Author:
dai_9181
Message:

Blittable型を導入した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/VariableOpe.cpp

    r117 r128  
    12031203    }
    12041204
     1205    if( type.IsObject() ){
     1206        if( type.GetClass().IsBlittableType() ){
     1207            // Blittable型のときは基本型として扱う
     1208            // ※ただし、コンパイル中のメソッドがBlittable型クラスに属していないこと
     1209            if( UserProc::IsLocalAreaCompiling()
     1210                && UserProc::CompilingUserProc().HasParentClass()
     1211                && UserProc::CompilingUserProc().GetParentClass().IsBlittableType() )
     1212            {
     1213                // コンパイル中のメソッドがBlittable型クラスに属している
     1214            }
     1215            else{
     1216                type = type.GetClass().GetBlittableType();
     1217            }
     1218        }
     1219    }
     1220
    12051221    if(dwFlags&DIMFLAG_STATIC){
    12061222        if( UserProc::IsGlobalAreaCompiling() ){
Note: See TracChangeset for help on using the changeset viewer.