Changeset 206 in dev for trunk/abdev/BasicCompiler32/Opcode.h
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Opcode.h
r142 r206 1 //Opcode.h 1 #pragma once 2 3 #include <Type.h> 4 #include <Procedure.h> 5 2 6 3 7 //未定義の定数情報 … … 201 205 bool _member_offset(bool isErrorEnabled, bool isWriteAccess, const CClass &objClass, const char *member, RELATIVE_VAR *pRelativeVar, Type &resultType, BOOL bPrivateAccess); 202 206 void SetThisPtrToReg(int reg); 203 bool GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, int *pss = 0);204 bool SetInitGlobalData(int offset,const Type &type,const int *SubScripts,const char *InitBuf);207 bool GetVarOffset(bool isErrorEnabled,bool isWriteAccess,const char *NameBuffer,RELATIVE_VAR *pRelativeVar,Type &resultType, Subscripts *pResultSubscripts = NULL ); 208 bool SetInitGlobalData(int offset,const Type &type,const Subscripts &subscripts,const char *InitBuf); 205 209 #define DIMFLAG_INITDEBUGVAR 1 206 210 #define DIMFLAG_NONCALL_CONSTRACTOR 2 207 211 #define DIMFLAG_STATIC 4 208 212 #define DIMFLAG_CONST 8 209 void dim( char *VarName, int *SubScripts,Type &type, const char *InitBuf,const char *ConstractParameter,DWORD dwFlags);213 void dim( char *VarName, const Subscripts &subscripts, Type &type, const char *InitBuf,const char *ConstractParameter,DWORD dwFlags); 210 214 void SetVarPtrToEax(RELATIVE_VAR *pRelativeVar); 211 215 void SetVarPtrToReg(int reg,RELATIVE_VAR *pRelativeVar); … … 234 238 bool EvaluateOverloadScore( int level, const Parameters &targetParms, const Type &targetResultType ); 235 239 public: 236 UserProc *_OverloadSolution( const char *name, std::vector<UserProc *> &subs, bool isEnabledReturnType = false );237 UserProc *OverloadSolution( const char *name, std::vector<UserProc *> &subs, bool isEnabledReturnType = false );240 const UserProc *_OverloadSolution( const char *name, std::vector<const UserProc *> &subs, bool isEnabledReturnType = false ); 241 const UserProc *OverloadSolution( const char *name, std::vector<const UserProc *> &subs, bool isEnabledReturnType = false ); 238 242 239 243 void ApplyDefaultParameters( const Parameters ¶ms ); … … 252 256 #define PROCFLAG_NEW 1 253 257 bool Opcode_CallProcPtr( const char *variable, const char *lpszParms,ProcPointer *pProcPointer); 254 bool Opcode_CallProc(const char *Parameter, UserProc *pUserProc,DWORD dwFlags,const char *ObjectName,int RefType);258 bool Opcode_CallProc(const char *Parameter,const UserProc *pUserProc,DWORD dwFlags,const char *ObjectName,int RefType); 255 259 bool Opcode_CallDllProc( const char *lpszParms, DllProc *pDllProc ); 256 260 … … 351 355 void fpu_cast_end(); 352 356 353 void op_call( UserProc *pUserProc);357 void op_call(const UserProc *pUserProc); 354 358 void op_ret();
Note:
See TracChangeset
for help on using the changeset viewer.