Changeset 817 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/CodeGenerator.h
- Timestamp:
- Mar 19, 2011, 10:47:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/CodeGenerator.h
r641 r817 33 33 return typeSize; 34 34 } 35 36 private: 37 PertialSchedule(PertialSchedule const&); 38 PertialSchedule& operator =(PertialSchedule const&); 35 39 }; 36 40 typedef std::vector<const PertialSchedule *> PertialSchedules; … … 68 72 return sourceCodePos; 69 73 } 74 75 private: 76 GotoLabelSchedule(GotoLabelSchedule const&); 77 GotoLabelSchedule& operator =(GotoLabelSchedule const&); 70 78 }; 71 79 typedef std::vector<const GotoLabelSchedule *> GotoLabelSchedules; … … 90 98 , address( nativeCodePos ) 91 99 { 100 } 101 102 GotoLabel(GotoLabel&& y) 103 : name(std::move(y.name)) 104 , line(std::move(y.line)) 105 , address(std::move(y.address)) 106 { 107 } 108 109 GotoLabel(GotoLabel const& y) 110 : name(y.name) 111 , line(y.line) 112 , address(y.address) 113 { 114 } 115 116 GotoLabel& operator =(GotoLabel&& y) 117 { 118 name = std::move(y.name); 119 line = std::move(y.line); 120 address = std::move(y.address); 121 return *this; 122 } 123 124 GotoLabel& operator =(GotoLabel const& y) 125 { 126 return *this = std::move(GotoLabel(y)); 92 127 } 93 128 }; … … 147 182 void Break(); 148 183 void RunScheduleOfBreak(); 184 185 private: 186 LexicalScope(LexicalScope const&); 187 LexicalScope& operator =(LexicalScope const&); 149 188 }; 150 189 … … 184 223 //Returnステートメント用のデストラクタ呼び出し 185 224 void CallDestructorsOfReturn( int BaseLevel = 0 ); 225 226 private: 227 LexicalScopes(LexicalScopes const&); 228 LexicalScopes& operator =(LexicalScopes const&); 186 229 }; 187 230 … … 534 577 pNativeCode->Put( c6 ); 535 578 } 579 580 private: 581 CodeGenerator(CodeGenerator const&); 582 CodeGenerator& operator =(CodeGenerator const&); 536 583 };
Note:
See TracChangeset
for help on using the changeset viewer.