Changeset 9d55ff6
- Timestamp:
- Sep 19, 2022, 3:53:05 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- 1c7ed2d
- Parents:
- aa144c5a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
raa144c5a r9d55ff6 493 493 assert( false ); 494 494 } // switch 495 } else if( varExpr->get_var()->get_linkage() == LinkageSpec::BuiltinCFA && varExpr->get_var()->get_name() == "intptr" ) { 496 // THIS is a hack to make it a constant until a proper constexpr solution is created 497 output << "((void*)"; 498 std::list< Expression* >::iterator arg = applicationExpr->get_args().begin(); 499 (*arg++)->accept( *visitor ); 500 output << ")"; 495 501 } else { 496 502 varExpr->accept( *visitor );
Note: See TracChangeset
for help on using the changeset viewer.