Changeset ea156ae for src/CodeGen/CodeGenerator.cc
- Timestamp:
- Sep 27, 2017, 5:31:02 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 549c006
- Parents:
- 12914e9 (diff), fa16264 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/CodeGen/CodeGenerator.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r12914e9 rea156ae 540 540 extension( nameExpr ); 541 541 OperatorInfo opInfo; 542 if ( operatorLookup( nameExpr->get_name(), opInfo ) ) { 543 assert( opInfo.type == OT_CONSTANT ); 544 output << opInfo.symbol; 542 if ( operatorLookup( nameExpr->name, opInfo ) ) { 543 if ( opInfo.type == OT_CONSTANT ) { 544 output << opInfo.symbol; 545 } else { 546 output << opInfo.outputName; 547 } 545 548 } else { 546 549 output << nameExpr->get_name();
Note:
See TracChangeset
for help on using the changeset viewer.