Changeset b0d9ff7 for src/CodeGen/CodeGenerator.cc
- Timestamp:
- Sep 1, 2022, 1:27:52 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 12df6fe
- Parents:
- def751f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
rdef751f rb0d9ff7 689 689 output << opInfo->symbol; 690 690 } else { 691 // if (dynamic_cast<EnumInstType *>(variableExpr->get_var()->get_type())692 // && dynamic_cast<EnumInstType *>(variableExpr->get_var()->get_type())->baseEnum->base) {693 // output << '(' <<genType(dynamic_cast<EnumInstType *>(variableExpr->get_var()->get_type())->baseEnum->base, "", options) << ')';694 // }695 691 output << mangleName( variableExpr->get_var() ); 696 692 } // if … … 911 907 } 912 908 909 // QualifiedNameExpr should not reach to CodeGen. 910 // FixQualifiedName Convert QualifiedNameExpr to VariableExpr 911 void CodeGenerator::postvisit( QualifiedNameExpr * expr ) { 912 output << "/* label */" << mangleName(expr->var); 913 } 913 914 914 915 // *** Statements
Note: See TracChangeset
for help on using the changeset viewer.