Changeset 44940ee for src/Concurrency/Keywords.cpp
- Timestamp:
- Feb 25, 2026, 12:56:30 AM (3 days ago)
- Branches:
- stuck-waitfor-destruct
- Children:
- 88bb0b4
- Parents:
- a0548c2
- File:
-
- 1 edited
-
src/Concurrency/Keywords.cpp (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.cpp
ra0548c2 r44940ee 29 29 #include "Common/Examine.hpp" 30 30 #include "Common/Utility.hpp" 31 #include "Concurrency/MutexFuncHash.hpp"32 31 #include "Common/UniqueName.hpp" 33 32 #include "ControlStruct/LabelGenerator.hpp" … … 1078 1077 1079 1078 // In reverse order: 1080 // monitor_dtor_guard_t __guard = { __monitor, func, f unc_id, false };1079 // monitor_dtor_guard_t __guard = { __monitor, func, false }; 1081 1080 mutBody->push_front( 1082 1081 new ast::DeclStmt( location, new ast::ObjectDecl( … … 1095 1094 generic_func, 1096 1095 ast::ExplicitCast ) ), 1097 new ast::SingleInit( location,1098 Concurrency::hashMangleExpr( location, func ) ),1099 1096 new ast::SingleInit( location, 1100 1097 ast::ConstantExpr::from_bool( location, false ) ), … … 1178 1175 ast::ExplicitCast 1179 1176 ) ), 1180 new ast::SingleInit( location,1181 Concurrency::hashMangleExpr( location, func ) ),1182 1177 }, 1183 1178 {}, … … 1480 1475 1481 1476 ast::CompoundStmt * MutexKeyword::addThreadDtorStatements( 1482 const ast::FunctionDecl* func, const ast::CompoundStmt * body,1477 const ast::FunctionDecl*, const ast::CompoundStmt * body, 1483 1478 const std::vector<const ast::DeclWithType * > & args ) { 1484 1479 assert( args.size() == 1 ); … … 1492 1487 const CodeLocation & location = mutBody->location; 1493 1488 1494 // thread_dtor_guard_t __guard = { this, func_id,intptr( 0 ) };1489 // thread_dtor_guard_t __guard = { this, intptr( 0 ) }; 1495 1490 mutBody->push_front( new ast::DeclStmt( 1496 1491 location, … … 1505 1500 new ast::CastExpr( location, 1506 1501 new ast::VariableExpr( location, arg ), argType ) ), 1507 new ast::SingleInit( location,1508 Concurrency::hashMangleExpr( location, func ) ),1509 1502 new ast::SingleInit( 1510 1503 location,
Note:
See TracChangeset
for help on using the changeset viewer.