source: dev/BasicCompiler32/NumOpe.cpp@ 92

Last change on this file since 92 was 92, checked in by dai_9181, 17 years ago

列挙型クラスの自動生成コードを修正した(派生クラスでのToStringメソッドを廃止し、サイズを軽減した)。

File size: 18.6 KB
Line 
1#include "../BasicCompiler_Common/common.h"
2#include "Opcode.h"
3
4void PushReturnValue(int type){
5 //関数の戻り値をスタックへプッシュする
6 //※この処理内では、esi、ediは使用不可
7
8 if(type==DEF_OBJECT || type==DEF_STRUCT){
9 //push eax
10 op_push(REG_EAX);
11 }
12 else if(type==DEF_DOUBLE){
13 //sub esp,8
14 op_sub_esp(8);
15
16 //fstp qword ptr[esp]
17 OpBuffer[obp++]=(char)0xDD;
18 OpBuffer[obp++]=(char)0x1C;
19 OpBuffer[obp++]=(char)0x24;
20 }
21 else if(type==DEF_SINGLE){
22 //sub esp,4
23 op_sub_esp(4);
24
25 //fstp dword ptr[esp]
26 OpBuffer[obp++]=(char)0xD9;
27 OpBuffer[obp++]=(char)0x1C;
28 OpBuffer[obp++]=(char)0x24;
29 }
30 else if(type==DEF_INT64||type==DEF_QWORD){
31 //push edx
32 op_push(REG_EDX);
33
34 //push eax
35 op_push(REG_EAX);
36 }
37 else if(type==DEF_LONG){
38 //push eax
39 op_push(REG_EAX);
40 }
41 else if(type==DEF_INTEGER || (isUnicode&&type==DEF_CHAR)){
42 //movsx ebx,ax
43 OpBuffer[obp++]=(char)0x0F;
44 OpBuffer[obp++]=(char)0xBF;
45 OpBuffer[obp++]=(char)0xD8;
46
47 //push ebx
48 op_push(REG_EBX);
49 }
50 else if(type==DEF_SBYTE || (isUnicode==false&&type==DEF_CHAR)){
51 //movsx ebx,al
52 OpBuffer[obp++]=(char)0x0F;
53 OpBuffer[obp++]=(char)0xBE;
54 OpBuffer[obp++]=(char)0xD8;
55
56 //push ebx
57 op_push(REG_EBX);
58 }
59 else if(type==DEF_DWORD||type==DEF_WORD||type==DEF_BYTE||type==DEF_BOOLEAN||
60 IsPtrType(type)){
61 //push eax
62 op_push(REG_EAX);
63 }
64 else{
65 SetError();
66 }
67}
68
69void NewStringObject( const char *str ){
70 ///////////////////////////////////////////////////////
71 // lpszTextを元にStringオブジェクトを生成し、
72 // オブジェクトポインタをregに格納する
73 ///////////////////////////////////////////////////////
74
75 char *parameter = (char *)malloc( lstrlen( str ) + 32 );
76 sprintf( parameter, "\"%s\"%c%c*Char", str, 1, ESC_AS );
77 SetStringQuotes( parameter );
78
79 extern CClass *pobj_StringClass;
80 Operator_New( *pobj_StringClass, "", parameter, Type( DEF_OBJECT, *pobj_StringClass ) );
81
82 free( parameter );
83}
84
85
86bool NumOpe( const char *expression,
87 const Type &baseType,
88 Type &resultType,
89 BOOL *pbUseHeap ){
90
91 int i,i2,i3,i4;
92 char temporary[1024],temp2[1024],temp3[1024];
93
94 if(expression[0]=='\0'){
95 SetError(1,NULL,cp);
96 return false;
97 }
98
99 if(expression[0]==1&& expression[1]==ESC_NEW ){
100 //New演算子(オブジェクト生成)
101
102 if( !Operator_New( expression+2, baseType, resultType ) ){
103 return false;
104 }
105
106 return true;
107 }
108
109
110 /////////////////////////////////
111 // 式要素を逆ポーランド式で取得
112 /////////////////////////////////
113
114 char *values[255];
115 long calc[255];
116 long stack[255];
117 int pnum;
118 if(!GetNumOpeElements(expression,&pnum,values,calc,stack)){
119 for(i=0;i<pnum;i++){
120 if(values[i]) HeapDefaultFree(values[i]);
121 }
122 return false;
123 }
124
125
126 BOOL bError;
127 bError=0;
128
129 //リテラル値のみの計算かどうかを判別するためのフラグ
130 BOOL bLiteralCalculation=1;
131
132 //リテラル演算の場合を考慮した演算前のバッファ位置
133 int BeforeObp;
134 BeforeObp=obp;
135
136 //リテラル演算の場合を考慮した演算前のプロシージャスケジュール位置
137 //※64ビットの掛け算、除算などで特殊関数が呼ばれるため
138 int Before_ProcAddrScheduleNum;
139 Before_ProcAddrScheduleNum=pobj_SubAddrSchedule->num;
140
141 //リテラル演算の場合を考慮した演算前のデータテーブルスケジュール位置
142 int Before_DataTableScheduleNum;
143 Before_DataTableScheduleNum=pobj_DataTableSchedule->num;
144
145 //リテラル演算の場合を考慮した演算前の再配置スケジュール
146 CReloc *pobj_BackReloc;
147 pobj_BackReloc=new CReloc();
148 pobj_BackReloc->copy(pobj_Reloc);
149
150 double dbl;
151 int sp;
152 int type_stack[255];
153 bool isNothing_stack[255];
154 LONG_PTR index_stack[255];
155 BOOL bUseHeap[255];
156 _int64 i64data;
157 for(i=0,sp=0;i<pnum;i++){
158 int idCalc;
159 idCalc=calc[i]%100;
160
161 if(idCalc){
162 if(type_stack[sp-2]==DEF_OBJECT){
163 if( idCalc == CALC_AS
164 && type_stack[sp-1] == ( DEF_OBJECT | FLAG_CAST )
165 && index_stack[sp-1] == index_stack[sp-2]
166 || isNothing_stack[sp-2] ){
167 // 同一の型、またはNothingに対するAsはAs演算子を呼び出さない
168 }
169 else{
170 //オーバーロードされたオペレータを呼び出す
171 i2=CallOperatorProc(idCalc,baseType,type_stack,index_stack,bUseHeap,sp);
172 if(i2==0){
173 if(idCalc==CALC_EQUAL) lstrcpy(temp2,"==");
174 else GetCalcName(idCalc,temp2);
175 sprintf(temporary,"Operator %s",temp2);
176 SetError(27,temporary,cp);
177 goto error;
178 }
179 else if(i2==-1) goto error;
180
181 continue;
182 }
183 }
184
185 if(!CheckCalcType(idCalc,type_stack,sp)) goto error;
186 }
187
188 switch(idCalc){
189 //数値
190 case 0:
191 index_stack[sp]=-1;
192 isNothing_stack[sp] = false;
193 bUseHeap[sp]=0;
194
195 char *term;
196 term=values[i];
197
198 if(term[0]=='\"'){
199 //リテラル文字列
200 if(!RemoveStringQuotes(term)){
201 SetError(43,NULL,cp);
202 goto error;
203 }
204 i3=lstrlen(term);
205StrLiteral:
206
207 if( baseType.IsObject() ){
208 if( baseType.IsStringObject() ){
209 //要求タイプがStringのとき
210
211 //String型オブジェクトを生成
212 NewStringObject(term);
213
214 extern CClass *pobj_StringClass;
215 type_stack[sp]=DEF_OBJECT;
216 index_stack[sp]=(LONG_PTR)pobj_StringClass;
217 bLiteralCalculation=0;
218
219 sp++;
220 break;
221 }
222 }
223
224
225 type_stack[sp]=typeOfPtrChar;
226 bLiteralCalculation=0;
227
228 i2=dataTable.AddString(term,i3);
229
230 //push DataSize
231 OpBuffer[obp++]=(char)0x68;
232 *((long *)(OpBuffer+obp))=i2;
233 pobj_DataTableSchedule->add();
234 obp+=sizeof(long);
235 }
236 else if((term[0]=='e'||term[0]=='E')&&
237 (term[1]=='x'||term[1]=='X')&&
238 term[2]=='\"'){
239 //拡張版リテラル文字列(エスケープシーケンス可能)
240 if(!RemoveStringQuotes(term+2)){
241 SetError(43,NULL,cp);
242 goto error;
243 }
244 i3=FormatString_EscapeSequence(term+2);
245 term+=2;
246
247 goto StrLiteral;
248 }
249 else if(IsVariableTopChar(term[0])||
250 term[0]=='*'||
251 (term[0]=='.'&&IsVariableTopChar(term[1]))){
252 //////////////////
253 // 何らかの識別子
254
255 //////////////////////////////////////
256 // 関数(DLL、ユーザー定義、組み込み)
257 //////////////////////////////////////
258
259 i2=GetCallProcName(term,temporary);
260 if(term[i2]=='('){
261 i4=GetStringInPare_RemovePare(temp2,term+i2+1);
262
263 void *pInfo;
264 int idProc=GetProc(temporary,(void **)&pInfo);
265
266 Type resultType;
267 if(idProc){
268 //閉じカッコ")"に続く文字がNULLでないとき
269 if(term[i2+1+i4+1]!='\0'){
270 if( term[i2+1+i4+1] == '.'
271 || term[i2+1+i4+1] == 1 && term[i2+1+i4+2] == ESC_PSMEM ){
272 goto NonProc;
273 }
274 else{
275 SetError(42,NULL,cp);
276 }
277 }
278
279 ////////////////
280 // 呼び出し
281 ////////////////
282
283 CallProc(idProc,pInfo,temporary,temp2,resultType);
284 if(resultType.IsNull()){
285 //戻り値が存在しないとき
286 for(i2=2;;i2++){
287 if(term[i2]=='('||term[i2]=='\0'){
288 term[i2]=0;
289 break;
290 }
291 }
292 SetError(38,term,cp);
293
294 goto error;
295 }
296
297
298 /////////////////////
299 // 戻り値の処理
300 /////////////////////
301
302 //大きな型への暗黙の変換
303 type_stack[sp]=AutoBigCast(baseType.GetBasicType(),resultType.GetBasicType());
304 index_stack[sp] = resultType.GetIndex();
305 bLiteralCalculation=0;
306
307 //スタックへプッシュ
308 PushReturnValue( resultType.GetBasicType() );
309
310 if( Is64Type(type_stack[sp])
311 && resultType.IsWhole()
312 && resultType.GetBasicSize() <= sizeof(long) ){
313 //必要に応じて64ビット拡張
314 ExtendStackTo64( resultType.GetBasicType() );
315 }
316
317 if( resultType.IsStruct() ){
318 //構造体が戻ったときはヒープ領域にインスタンスが格納されている
319 //※後にfreeする必要あり
320 bUseHeap[sp]=1;
321 }
322
323 sp++;
324 break;
325 }
326 else if(GetConstCalcBuffer(temporary,temp2,temp3)){
327 /////////////////////////
328 // マクロ関数
329 /////////////////////////
330
331 //閉じカッコ")"に続く文字がNULLでないときはエラーにする
332 if(term[i2+1+i4+1]!='\0') SetError(42,NULL,cp);
333
334 //マクロ関数の場合
335 NumOpe(temp3,Type(),resultType);
336
337 if(!IS_LITERAL(resultType.GetIndex())){
338 //リテラル値ではなかったとき
339 bLiteralCalculation=0;
340 }
341
342 type_stack[sp] = resultType.GetBasicType();
343 index_stack[sp] = resultType.GetIndex();
344
345 sp++;
346 break;
347 }
348 }
349NonProc:
350
351
352 //インデクサ(getアクセサ)
353 char variable[VN_SIZE],array_element[VN_SIZE];
354 GetArrayElement(term,variable,array_element);
355 if(array_element[0]){
356 Type resultType;
357 GetVarType(variable,resultType,0);
358 if( resultType.IsObject() ){
359 CallIndexerGetterProc(&resultType.GetClass(),variable,array_element,resultType);
360 type_stack[sp]=resultType.GetBasicType();
361 index_stack[sp]=resultType.GetIndex();
362 bLiteralCalculation=0;
363
364 //push eax
365 op_push(REG_EAX);
366
367 sp++;
368 break;
369 }
370 }
371
372
373 // Nothing
374 if( lstrcmp( term, "Nothing" ) == 0 ){
375 isNothing_stack[sp] = true;
376
377 type_stack[sp] = DEF_OBJECT;
378 if( baseType.IsObject() ){
379 index_stack[sp] = baseType.GetIndex();
380 }
381 else{
382 index_stack[sp] = (LONG_PTR)pobj_DBClass->GetObjectClass();
383 }
384
385 bLiteralCalculation = 0;
386
387 //push 0
388 op_push_V( 0 );
389
390 sp++;
391 break;
392 }
393
394 RELATIVE_VAR RelativeVar;
395 Type varType;
396 if(GetVarOffset(
397 false, //エラー表示あり
398 false, //読み込み専用
399 term,
400 &RelativeVar,varType)){
401 //////////
402 // 変数
403 //////////
404
405 //大きな型への暗黙の変換
406 type_stack[sp]=AutoBigCast(baseType.GetBasicType(),varType.GetBasicType());
407 index_stack[sp] = varType.GetIndex();
408 bLiteralCalculation=0;
409
410 if(varType.GetBasicType()&FLAG_PTR){
411 //配列ポインタ
412 type_stack[sp]=GetPtrType(varType.GetBasicType()^FLAG_PTR);
413
414 SetVarPtrToEax(&RelativeVar);
415
416 //push eax
417 op_push(REG_EAX);
418 }
419 else if( varType.IsStruct() ){
420 //構造体ポインタをeaxへ格納(構造体は値型)
421 SetVarPtrToEax(&RelativeVar);
422
423 //push eax
424 op_push(REG_EAX);
425 }
426 else if( varType.GetBasicSize() == sizeof(_int64) ){
427 //64ビット型
428 PushDoubleVariable(&RelativeVar);
429 }
430 else if( varType.GetBasicSize() == sizeof(long) ){
431 //32ビット型
432 PushLongVariable(&RelativeVar);
433 }
434 else if( varType.IsInteger() ){
435 PushIntegerVariable(&RelativeVar);
436 }
437 else if( varType.IsWord() ){
438 PushWordVariable(&RelativeVar);
439 }
440 else if( varType.IsSByte() ){
441 PushCharVariable(&RelativeVar);
442 }
443 else if( varType.IsByte() || varType.IsBoolean() ){
444 PushByteVariable(&RelativeVar);
445 }
446 else SetError(11,term,cp);
447
448 if( Is64Type(type_stack[sp])
449 && varType.IsWhole()
450 && varType.GetBasicSize()<=sizeof(long)){
451 //必要に応じて64ビット拡張
452 ExtendStackTo64( varType.GetBasicType() );
453 }
454
455 sp++;
456 break;
457 }
458
459
460 //////////////
461 // 定数の場合
462 //////////////
463
464 i3 = CDBConst::obj.GetType(term);
465 if(i3){
466 type_stack[sp]=i3;
467 if(IsRealNumberType(i3)){
468 //実数
469 double dbl = CDBConst::obj.GetDoubleData(term);
470 memcpy(&i64data,&dbl,sizeof(double));
471 goto Literal;
472 }
473 else if(IsWholeNumberType(i3)){
474 //整数
475 i64data = CDBConst::obj.GetWholeData(term);
476 goto Literal;
477 }
478 /*else if(i3==DEF_STRING){
479 //リテラル文字列
480
481 //バイト数
482 i3=(int)dbl;
483
484 memcpy(term,temporary,i3);
485 goto StrLiteral;
486 }*/
487 else{
488 SetError(300,NULL,cp);
489 goto error;
490 }
491 }
492
493
494 //////////////
495 // 型名の場合
496 //////////////
497 Type tempType;
498 if( Type::StringToType( term, tempType ) ){
499 type_stack[sp] = tempType.GetBasicType() | FLAG_CAST;
500 index_stack[sp] = tempType.GetIndex();
501 sp++;
502 break;
503 }
504
505
506 /////////////////////////////////
507 // プロパティ用のメソッド
508 /////////////////////////////////
509
510 //配列要素を排除
511 char VarName[VN_SIZE],ArrayElements[VN_SIZE];
512 GetArrayElement(term,VarName,ArrayElements);
513
514 if(GetSubHash(VarName,0)){
515 Type resultType;
516 CallPropertyMethod(term,NULL,resultType);
517
518 //大きな型への暗黙の変換
519 type_stack[sp]=AutoBigCast(baseType.GetBasicType(),resultType.GetBasicType());
520 index_stack[sp]=resultType.GetIndex();
521 bLiteralCalculation=0;
522
523 //スタックへプッシュ
524 PushReturnValue( resultType.GetBasicType() );
525
526 if(type_stack[sp]==DEF_STRUCT){
527 //構造体が戻ったときはヒープ領域にインスタンスが格納されている
528 //※後にfreeする必要あり
529 bUseHeap[sp]=1;
530 }
531
532 sp++;
533 break;
534 }
535
536
537
538 //該当する識別子が見当たらないときはエラー扱いにする
539 bError=1;
540 SetError(3,term,cp);
541 type_stack[sp]=DEF_DOUBLE;
542 }
543 else{
544 //リテラル値
545 type_stack[sp]=GetLiteralValue(term,&i64data,baseType.GetBasicType());
546Literal:
547 if(type_stack[sp]==DEF_INT64||
548 type_stack[sp]==DEF_QWORD||
549 type_stack[sp]==DEF_DOUBLE){
550 //64ビット(符号有り整数/実数)
551
552 //push HILONG(dbl)
553 op_push_V((long)*(long *)(((char *)(&i64data))+4));
554
555 //push LOLONG(dbl)
556 op_push_V(*(long *)(&i64data));
557 }
558 else if(type_stack[sp]==DEF_SINGLE){
559 //single実数
560
561 float flt;
562 memcpy(&dbl,&i64data,sizeof(double));
563 flt=(float)dbl;
564 memcpy(&i3,&flt,sizeof(long));
565
566 //push term
567 op_push_V(i3);
568 }
569 else{
570 //その他
571
572 //push term
573 op_push_V((long)i64data);
574
575 if((long)i64data==0) index_stack[sp]=LITERAL_NULL;
576 }
577
578
579 //リテラル値の種類
580 if(Is64Type(type_stack[sp])==0&&IsRealNumberType(type_stack[sp])==0){
581 //整数(符号有り/無し)
582
583 index_stack[sp]=GetLiteralIndex(i64data);
584 }
585 }
586 sp++;
587 break;
588
589 //論理演算子
590 case CALC_XOR:
591 //value[sp-2] xor= value[sp-1]
592 //xor演算
593 if(!Calc_Xor(type_stack,index_stack,&sp)) goto error;
594 break;
595 case CALC_OR:
596 //value[sp-2] or= value[sp-1]
597 //or演算
598 if(!Calc_Or(type_stack,index_stack,&sp)) goto error;
599 break;
600 case CALC_AND:
601 //value[sp-2] and= value[sp-1]
602 //and演算
603 if(!Calc_And(type_stack,index_stack,&sp)) goto error;
604 break;
605 case CALC_NOT:
606 //value[sp-1]=Not value[sp-1]
607 //NOT演算子
608 if(!Calc_Not(type_stack,sp)) goto error;
609 break;
610
611 //比較演算子
612 case CALC_PE:
613 //value[sp-2]<=value[sp-1]
614 if(!Calc_Relation_PE(type_stack,index_stack,&sp)) goto error;
615 break;
616 case CALC_QE:
617 //value[sp-2]>=value[sp-1]
618 if(!Calc_Relation_QE(type_stack,index_stack,&sp)) goto error;
619 break;
620 case CALC_P:
621 //value[sp-2]<value[sp-1]
622 if(!Calc_Relation_P(type_stack,index_stack,&sp)) goto error;
623 break;
624 case CALC_Q:
625 //value[sp-2]>value[sp-1]
626 if(!Calc_Relation_Q(type_stack,index_stack,&sp)) goto error;
627 break;
628 case CALC_NOTEQUAL:
629 //value[sp-2]<>value[sp-1]
630 if(!Calc_Relation_NotEqual(type_stack,&sp)) goto error;
631 break;
632 case CALC_EQUAL:
633 //value[sp-2]=value[sp-1]
634 if(!Calc_Relation_Equal(type_stack,&sp)) goto error;
635 break;
636
637 //ビットシフト
638 case CALC_SHL:
639 //value[sp-2]=value[sp-2]<<value[sp-1]
640 if(!Calc_SHL(type_stack,&sp)) goto error;
641 break;
642 case CALC_SHR:
643 //value[sp-2]=value[sp-2]>>value[sp-1]
644 if(!Calc_SHR(type_stack,&sp)) goto error;
645 break;
646
647 //算術演算
648 case CALC_ADDITION:
649 case CALC_SUBTRACTION:
650 case CALC_PRODUCT:
651 if(!CalcTwoTerm_Arithmetic(idCalc,type_stack,index_stack,&sp)) goto error;
652 break;
653
654 case CALC_MOD:
655 //value[sp-2]%=value[sp-1]
656 //剰余演算
657 if(!Calc_Mod(type_stack,&sp)) goto error;
658 break;
659 case CALC_QUOTIENT:
660 //value[sp-2]/=value[sp-1];
661 //除算
662 if(!Calc_Divide(type_stack,&sp,baseType.GetBasicType())) goto error;
663 break;
664 case CALC_INTQUOTIENT:
665 //value[sp-2]/=value[sp-1]
666 //整数除算
667 if(!Calc_IntDivide(type_stack,index_stack,&sp)) goto error;
668 break;
669 case CALC_MINUSMARK:
670 //value[sp-1]=-value[sp-1]
671 //符号反転
672 if(!Calc_MinusMark(type_stack,sp)) goto error;
673 index_stack[sp-1]=-1;
674 break;
675 case CALC_POWER:
676 //べき乗演算(浮動小数点演算のみ)
677 if(!Calc_Power(type_stack,&sp)) goto error;
678 break;
679 case CALC_AS:
680 //キャスト
681 if(!Calc_Cast(type_stack,index_stack,&sp)) goto error;
682 break;
683
684 case CALC_BYVAL:
685 //ポインタ型→参照型
686 if( PTR_LEVEL( type_stack[sp-1] ) <= 0 ){
687 //ポインタ型ではないとき
688 SetError( 3, NULL, cp );
689 goto error;
690 }
691
692 type_stack[sp-1] = PTR_LEVEL_DOWN( type_stack[sp-1] );
693
694 break;
695
696 default:
697 SetError(300,NULL,cp);
698 goto error;
699 }
700 }
701
702 if(bError) goto error;
703
704 if(sp!=1){
705 SetError(1,NULL,cp);
706 goto error;
707 }
708
709 if(bLiteralCalculation){
710 //右辺値が数値の定数式の場合
711 Type resultType;
712 StaticCalculation(true, expression,baseType.GetBasicType(),&i64data,resultType);
713
714 obp=BeforeObp;
715 pobj_SubAddrSchedule->num=Before_ProcAddrScheduleNum;
716 pobj_DataTableSchedule->num=Before_DataTableScheduleNum;
717 pobj_Reloc->copy(pobj_BackReloc);
718
719 if( resultType.GetBasicSize() == sizeof(_int64) ){
720 //64ビット(符号有り整数/実数)
721
722 //push HILONG(i64data)
723 op_push_V((long)*(long *)(((char *)(&i64data))+4));
724
725 //push LOLONG(i64data)
726 op_push_V(*(long *)(&i64data));
727 }
728 else if( resultType.IsSingle() ){
729 //single実数
730
731 memcpy(&dbl,&i64data,sizeof(_int64));
732
733 float flt;
734 flt=(float)dbl;
735 memcpy(&i3,&flt,sizeof(long));
736
737 //push flt
738 op_push_V(i3);
739 }
740 else{
741 //整数(符号有り/無し)
742
743 i3=(long)i64data;
744
745 if(resultType.GetBasicSize()==sizeof(char)) i3=i3&0x000000FF;
746 if(resultType.GetBasicSize()==sizeof(short)) i3=i3&0x0000FFFF;
747
748 //push term
749 op_push_V(i3);
750 }
751
752 type_stack[0]=resultType.GetBasicType();
753 index_stack[0]=resultType.GetIndex();
754 }
755 else{
756 //右辺値が数値の定数式ではないとき
757 if(IS_LITERAL(index_stack[0])) index_stack[0]=-1;
758 }
759
760 if(pbUseHeap) *pbUseHeap=bUseHeap[0];
761
762 resultType.SetType( type_stack[0], index_stack[0] );
763
764 bool isSuccessful = true;
765 goto finish;
766
767
768error:
769 isSuccessful = false;
770 goto finish;
771
772
773finish:
774
775 for(i=0;i<pnum;i++){
776 if(values[i]) HeapDefaultFree(values[i]);
777 }
778
779 //再配置スケジュールバックアップ情報を解放
780 delete pobj_BackReloc;
781
782 return isSuccessful;
783}
Note: See TracBrowser for help on using the repository browser.