Changeset 354 in dev for trunk/abdev/BasicCompiler32


Ignore:
Timestamp:
Oct 22, 2007, 1:29:05 AM (17 years ago)
Author:
dai_9181
Message:

オブジェクトからインターフェイスへのキャスト時に必要なだけメモリが確保できていないバグを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_Object.cpp

    r349 r354  
    100100{
    101101    const CClass *pClass = &objClass;
    102     int typeSize = pClass->GetSize();
    103102
    104103    if( pClass->IsInterface() )
     
    106105        pClass = compiler.GetObjectModule().meta.GetClasses().GetInterfaceInfoClassPtr();
    107106    }
     107
     108    int typeSize = pClass->GetSize();
    108109
    109110    if(pClass->IsAbstract()){
Note: See TracChangeset for help on using the changeset viewer.