Ignore:
Timestamp:
Mar 15, 2008, 1:20:13 PM (16 years ago)
Author:
dai_9181
Message:

関数の戻り値の構造体など、一時メモリに保持された構造体のメンバに直接アクセスした場合、その一時メモリの解放が正常に行われないバグを修正(まずは32bit版のみ)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Opcode.h

    r424 r435  
    6565             Type &resultType,
    6666             bool &isLiteral,
    67              BOOL *pbUseHeap,
     67             bool &isNeedHeapFreeStructure,
    6868             bool *pIsClassName = NULL,
    6969             bool isProcedureCallOnly = false,
     
    222222//OperatorProc.cpp
    223223void FreeTempObject(int reg,const CClass *pobj_c);
    224 int CallOperatorProc(int idCalc, const Type &baseType, int *type_stack, LONG_PTR *index_stack,BOOL *bUseHeap,int &sp);
     224int CallOperatorProc(int idCalc, const Type &baseType, int *type_stack, LONG_PTR *index_stack,bool isNeedHeapFreeStructureStack[],int &sp);
    225225void CallCastOperatorProc(Type &calcType,BOOL bCalcUseHeap,const Type &toType);
    226226void CallIndexerGetterProc( const Type &classType, const char *ObjectName, char *Parameter,Type &resultType, DWORD dwProcFlags = 0 );
Note: See TracChangeset for help on using the changeset viewer.