Changeset 116 in dev for BasicCompiler64
- Timestamp:
- May 12, 2007, 4:34:39 PM (18 years ago)
- Location:
- BasicCompiler64
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Calc.cpp
r75 r116 215 215 216 216 if( calcType.IsObject() && !calcType.Equals( varType ) ){ 217 //キャスト演算子のオーバーロードに対応する 218 CallCastOperatorProc(REG_RAX,calcType,bCalcUseHeap,varType); 217 bool isUpCast = false; 218 if( varType.IsObject() ){ 219 if( varType.GetClass().IsEqualsOrSubClass( &calcType.GetClass() ) ){ 220 isUpCast = true; 221 } 222 } 223 if( !isUpCast ){ 224 //キャスト演算子のオーバーロードに対応する 225 CallCastOperatorProc(REG_RAX,calcType,bCalcUseHeap,varType); 226 } 219 227 } 220 228 -
BasicCompiler64/Compile_Var.cpp
r107 r116 537 537 CClass::RefType refType; 538 538 GetVarFormatString(temporary,tempArray,lpPtrOffset,tempMember, refType ); 539 } 540 541 int typeDefIndex = Smoothie::Meta::typeDefs.GetIndex( VarName ); 542 if( typeDefIndex != -1 ){ 543 // TypeDef後の型名だったとき 544 lstrcpy( VarName, Smoothie::Meta::typeDefs[typeDefIndex].GetBaseName().c_str() ); 539 545 } 540 546
Note:
See TracChangeset
for help on using the changeset viewer.