Changeset 308 in dev for trunk/abdev/BasicCompiler64/Compile_CallProc.cpp
- Timestamp:
- Aug 29, 2007, 9:05:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/Compile_CallProc.cpp
r304 r308 89 89 } 90 90 91 bool Opcode_CallProc(const char *Parameter,const UserProc *pUserProc,DWORD dwFlags,const char *ObjectName,int RefType){ 92 // TODO: RefTypeは不必要なので削除する 91 bool Opcode_CallProc(const char *Parameter,const UserProc *pUserProc,DWORD dwFlags,const char *ObjectName){ 93 92 int i2; 94 93 … … 131 130 Type varType; 132 131 GetVarType( ObjectName, varType, false ); 133 pobj_c = &varType.GetClass(); 134 if( NATURAL_TYPE( varType.GetBasicType() ) != DEF_OBJECT ){ 132 if( NATURAL_TYPE( varType.GetBasicType() ) == DEF_OBJECT ) 133 { 134 pobj_c = &varType.GetClass(); 135 leftType = varType; 136 } 137 else 138 { 135 139 pobj_c=compiler.GetObjectModule().meta.GetClasses().Find(ObjectName); 136 140 if( pobj_c ){
Note:
See TracChangeset
for help on using the changeset viewer.