Changeset 354 in dev for trunk/abdev/BasicCompiler64


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/BasicCompiler64/Compile_Object.cpp

    r349 r354  
    9393{
    9494    const CClass *pClass = &objClass;
    95     int typeSize = pClass->GetSize();
    9695
    9796    if( pClass->IsInterface() )
     
    9998        pClass = compiler.GetObjectModule().meta.GetClasses().GetInterfaceInfoClassPtr();
    10099    }
     100
     101    int typeSize = pClass->GetSize();
    101102
    102103    if( pClass->IsAbstract() ){
Note: See TracChangeset for help on using the changeset viewer.