Changeset 97 in dev for BasicCompiler32/Opcode.h


Ignore:
Timestamp:
Apr 16, 2007, 3:52:40 AM (17 years ago)
Author:
dai_9181
Message:

関数の戻り値オブジェクトのメンバ・メソッドを一時オブジェクトを介さずに参照できるようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/Opcode.h

    r95 r97  
    102102//NumOpe.cpp
    103103void PushReturnValue(int type);
     104bool NumOpe( int reg,
     105            const char *expression,
     106            const Type &baseType,
     107            Type &resultType,
     108            BOOL *pbUseHeap = NULL );
    104109bool NumOpe( const char *Command,
    105110           const Type &baseType,
     
    151156void Set8Variable(int type,DWORD VarKind,DWORD offset,BOOL bOffsetOffset);
    152157void SetBooleanVariable(int type,RELATIVE_VAR *pRelative);
     158void ExtendTypeTo64(int type);
     159void ExtendTypeTo32(int type,int reg);
     160void ExtendTypeTo16(int type,int reg);
    153161
    154162//increment.cpp
     
    168176//Compile_Calc_PushVar.cpp
    169177void SetReg_RealVariable(int type,RELATIVE_VAR *pRelativeVar);
    170 void SetReg_WholeVariable(int type,RELATIVE_VAR *pRelativeVar,int reg);
     178void SetReg_WholeVariable(int type,RELATIVE_VAR *pRelativeVar,int reg, bool is64Head = false);
    171179void PushDoubleVariable(RELATIVE_VAR *pRelativeVar);
    172180void PushLongVariable(RELATIVE_VAR *pRelativeVar);
     
    182190//Compile_Var.cpp
    183191void SetRelativeOffset( RELATIVE_VAR &relativeVar );
    184 void GetWithName(char *buffer);
     192bool _member_offset(bool isErrorEnabled, bool isWriteAccess, const CClass &objClass, const char *member, RELATIVE_VAR *pRelativeVar, Type &resultType, BOOL bPrivateAccess);
    185193void SetThisPtrToReg(int reg);
    186194bool GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType,int *pss = 0);
     
    192200void dim( char *VarName,int *SubScripts,Type &type,char *InitBuf,char *ConstractParameter,DWORD dwFlags);
    193201void SetVarPtrToEax(RELATIVE_VAR *pRelativeVar);
     202void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar);
    194203bool Compile_AddGlobalRootsForGc();
    195204
     
    314323void op_push(int reg);
    315324void op_push_V(long data);
    316 void op_pop(int reg);
     325void op_pop(int reg = REG_NON);
    317326void op_add_esp(int num);
    318327void op_sub_esp(int num);
     
    328337void op_fstp_base_offset    (int type,int base_reg,int offset);
    329338void op_fstp_base_offset_ex (int type,int base_reg1,int base_reg2,int offset,BOOL bUseOffset);
     339void op_fstp_push           ( Type &type );
    330340void op_fistp_ptr_esp       ( int typeSize );
    331341void op_zero_reg(int reg);
Note: See TracChangeset for help on using the changeset viewer.