Changeset 2f42718 for src/ControlStruct
- Timestamp:
- Feb 22, 2019, 10:43:29 AM (5 years ago)
- Branches:
- no_list
- Parents:
- 43e0949
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptTranslate.cc
r43e0949 r2f42718 187 187 unused_index_obj->attributes.push_back( new Attribute( "unused" ) ); 188 188 189 catch_func_t. get_parameters().push_back( index_obj.clone() );190 catch_func_t. get_parameters().push_back( exception_obj.clone() );191 match_func_t. get_returnVals().push_back( unused_index_obj );192 match_func_t. get_parameters().push_back( exception_obj.clone() );193 handle_func_t. get_returnVals().push_back( bool_obj.clone() );194 handle_func_t. get_parameters().push_back( exception_obj.clone() );195 finally_func_t. get_parameters().push_back( voidptr_obj.clone() );189 catch_func_t.parameters.push_back( index_obj.clone() ); 190 catch_func_t.parameters.push_back( exception_obj.clone() ); 191 match_func_t.returnVals.push_back( unused_index_obj ); 192 match_func_t.parameters.push_back( exception_obj.clone() ); 193 handle_func_t.returnVals.push_back( bool_obj.clone() ); 194 handle_func_t.parameters.push_back( exception_obj.clone() ); 195 finally_func_t.parameters.push_back( voidptr_obj.clone() ); 196 196 } 197 197 … … 275 275 276 276 FunctionType *func_type = catch_func_t.clone(); 277 DeclarationWithType * index_obj = func_type->get_parameters().front();278 DeclarationWithType * except_obj = func_type-> get_parameters().back();277 DeclarationWithType * index_obj = func_type->parameters.front(); 278 DeclarationWithType * except_obj = func_type->parameters.back(); 279 279 280 280 // Index 1..{number of handlers} … … 397 397 398 398 FunctionType * func_type = match_func_t.clone(); 399 DeclarationWithType * except_obj = func_type-> get_parameters().back();399 DeclarationWithType * except_obj = func_type->parameters.back(); 400 400 401 401 // Index 1..{number of handlers} … … 451 451 452 452 FunctionType * func_type = handle_func_t.clone(); 453 DeclarationWithType * except_obj = func_type-> get_parameters().back();453 DeclarationWithType * except_obj = func_type->parameters.back(); 454 454 455 455 CatchList::iterator it;
Note: See TracChangeset
for help on using the changeset viewer.