Changeset 354 in dev


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

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

Location:
trunk/abdev
Files:
3 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()){
  • 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() ){
  • trunk/abdev/BasicCompiler_Common/include/ver.h

    r353 r354  
    66// バージョン付加文字列
    77#ifdef _AMD64_
    8 #define VER_INFO        "(x64) (rev.357)"
     8#define VER_INFO        "(x64) (rev.361)"
    99#else
    10 #define VER_INFO        "(rev.357)"
     10#define VER_INFO        "(rev.361)"
    1111#endif
Note: See TracChangeset for help on using the changeset viewer.