Changeset f1e012b for src/CodeGen
- Timestamp:
- Jan 19, 2016, 1:28:25 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- ca1c11f
- Parents:
- 71f4e4f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r71f4e4f rf1e012b 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Jan 13 16:26:59201613 // Update Count : 2 3412 // Last Modified On : Tue Jan 19 13:15:44 2016 13 // Update Count : 251 14 14 // 15 15 … … 258 258 259 259 case OT_CALL: 260 case OT_CTOR:261 case OT_DTOR:262 260 // there are no intrinsic definitions of the function call operator or constructors or destructors 263 261 assert( false ); 264 262 break; 263 264 case OT_CTOR: 265 // intrinsic constructors should never be called directly - they should be transformed back into Initializer nodes 266 assert(false); 267 break; 268 269 case OT_DTOR: 270 // intrinsic destructors do nothing - don't generate any code 271 output << " // " << dynamic_cast<VariableExpr*>(applicationExpr->get_function())->get_var()->get_name() << endl; 272 break; 265 273 266 274 case OT_PREFIX: … … 279 287 output << opInfo.symbol; 280 288 break; 289 281 290 282 291 case OT_INFIX: … … 324 333 325 334 case OT_CALL: 335 assert( false ); 336 326 337 case OT_CTOR: 327 338 case OT_DTOR: 328 assert( false ); 339 // intrinsic constructors should never be called 340 // intrinsic destructors do nothing 329 341 break; 330 342
Note: See TracChangeset
for help on using the changeset viewer.