Changeset 97 in dev for BasicCompiler32/Opcode.h
- Timestamp:
- Apr 16, 2007, 3:52:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Opcode.h
r95 r97 102 102 //NumOpe.cpp 103 103 void PushReturnValue(int type); 104 bool NumOpe( int reg, 105 const char *expression, 106 const Type &baseType, 107 Type &resultType, 108 BOOL *pbUseHeap = NULL ); 104 109 bool NumOpe( const char *Command, 105 110 const Type &baseType, … … 151 156 void Set8Variable(int type,DWORD VarKind,DWORD offset,BOOL bOffsetOffset); 152 157 void SetBooleanVariable(int type,RELATIVE_VAR *pRelative); 158 void ExtendTypeTo64(int type); 159 void ExtendTypeTo32(int type,int reg); 160 void ExtendTypeTo16(int type,int reg); 153 161 154 162 //increment.cpp … … 168 176 //Compile_Calc_PushVar.cpp 169 177 void SetReg_RealVariable(int type,RELATIVE_VAR *pRelativeVar); 170 void SetReg_WholeVariable(int type,RELATIVE_VAR *pRelativeVar,int reg );178 void SetReg_WholeVariable(int type,RELATIVE_VAR *pRelativeVar,int reg, bool is64Head = false); 171 179 void PushDoubleVariable(RELATIVE_VAR *pRelativeVar); 172 180 void PushLongVariable(RELATIVE_VAR *pRelativeVar); … … 182 190 //Compile_Var.cpp 183 191 void SetRelativeOffset( RELATIVE_VAR &relativeVar ); 184 void GetWithName(char *buffer);192 bool _member_offset(bool isErrorEnabled, bool isWriteAccess, const CClass &objClass, const char *member, RELATIVE_VAR *pRelativeVar, Type &resultType, BOOL bPrivateAccess); 185 193 void SetThisPtrToReg(int reg); 186 194 bool GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType,int *pss = 0); … … 192 200 void dim( char *VarName,int *SubScripts,Type &type,char *InitBuf,char *ConstractParameter,DWORD dwFlags); 193 201 void SetVarPtrToEax(RELATIVE_VAR *pRelativeVar); 202 void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar); 194 203 bool Compile_AddGlobalRootsForGc(); 195 204 … … 314 323 void op_push(int reg); 315 324 void op_push_V(long data); 316 void op_pop(int reg );325 void op_pop(int reg = REG_NON); 317 326 void op_add_esp(int num); 318 327 void op_sub_esp(int num); … … 328 337 void op_fstp_base_offset (int type,int base_reg,int offset); 329 338 void op_fstp_base_offset_ex (int type,int base_reg1,int base_reg2,int offset,BOOL bUseOffset); 339 void op_fstp_push ( Type &type ); 330 340 void op_fistp_ptr_esp ( int typeSize ); 331 341 void op_zero_reg(int reg);
Note:
See TracChangeset
for help on using the changeset viewer.