Changeset 465 in dev for trunk/ab5.0/abdev/BasicCompiler32/x86CodeGenerator.cpp
- Timestamp:
- Mar 24, 2008, 8:05:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler32/x86CodeGenerator.cpp
r370 r465 30 30 || mod == MOD_REG ) ) 31 31 { 32 SetError();32 compiler.errorMessenger.OutputFatalError(); 33 33 } 34 34 if( isPertialSchedule && !( mod == MOD_DISP32 || mod == MOD_BASE_DISP32 ) ) 35 35 { 36 SetError();36 compiler.errorMessenger.OutputFatalError(); 37 37 } 38 38 … … 972 972 if(type==DEF_DOUBLE) pNativeCode->Put( (char)0xDD ); 973 973 else if(type==DEF_SINGLE) pNativeCode->Put( (char)0xD9 ); 974 else SetError(300,NULL,cp);974 else compiler.errorMessenger.Output(300,NULL,cp); 975 975 976 976 if(base_reg==REG_ESP){ … … 993 993 if(type==DEF_DOUBLE) pNativeCode->Put( (char)0xDD ); 994 994 else if(type==DEF_SINGLE) pNativeCode->Put( (char)0xD9 ); 995 else SetError(300,NULL,cp);995 else compiler.errorMessenger.Output(300,NULL,cp); 996 996 997 997 //オペコード、レジスタ … … 1027 1027 if(type==DEF_DOUBLE) pNativeCode->Put( (char)0xDD ); 1028 1028 else if(type==DEF_SINGLE) pNativeCode->Put( (char)0xD9 ); 1029 else SetError(300,NULL,cp);1029 else compiler.errorMessenger.Output(300,NULL,cp); 1030 1030 1031 1031 int reg=0; … … 1069 1069 if(type==DEF_DOUBLE) pNativeCode->Put( (char)0xDD ); 1070 1070 else if(type==DEF_SINGLE) pNativeCode->Put( (char)0xD9 ); 1071 else SetError(300,NULL,cp);1071 else compiler.errorMessenger.Output(300,NULL,cp); 1072 1072 1073 1073 if(base_reg==REG_ESP){ … … 1090 1090 if(type==DEF_DOUBLE) pNativeCode->Put( (char)0xDD ); 1091 1091 else if(type==DEF_SINGLE) pNativeCode->Put( (char)0xD9 ); 1092 else SetError(300,NULL,cp);1092 else compiler.errorMessenger.Output(300,NULL,cp); 1093 1093 1094 1094 //オペコード、レジスタ … … 1124 1124 if(type==DEF_DOUBLE) pNativeCode->Put( (char)0xDD ); 1125 1125 else if(type==DEF_SINGLE) pNativeCode->Put( (char)0xD9 ); 1126 else SetError(300,NULL,cp);1126 else compiler.errorMessenger.Output(300,NULL,cp); 1127 1127 1128 1128 int reg=0; … … 1182 1182 } 1183 1183 else{ 1184 SetError();1184 compiler.errorMessenger.OutputFatalError(); 1185 1185 } 1186 1186 }
Note:
See TracChangeset
for help on using the changeset viewer.