Home
last modified time | relevance | path

Searched refs:sdtor (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dmodules.cc496 if (decl->sdtor) in layout_moduleinfo_fields()
586 if (decl->sdtor) in layout_moduleinfo()
637 CONSTRUCTOR_APPEND_ELT (minit, NULL_TREE, build_address (decl->sdtor)); in layout_moduleinfo()
770 tm->sdtor = build_funcs_gates_fn (get_identifier ("*__modtestdtor"), in build_module_tree()
800 decl->sdtor = build_funcs_gates_fn (get_identifier ("*__moddtor"), in build_module_tree()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/
H A Dmodules.cc489 if (decl->sdtor) in layout_moduleinfo_fields()
578 if (decl->sdtor) in layout_moduleinfo()
629 CONSTRUCTOR_APPEND_ELT (minit, NULL_TREE, build_address (decl->sdtor)); in layout_moduleinfo()
758 tm->sdtor = build_funcs_gates_fn (get_identifier ("*__modtestdtor"), in build_module_tree()
790 decl->sdtor = build_funcs_gates_fn (get_identifier ("*__moddtor"), in build_module_tree()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dmodule.h149 Symbol *sdtor; // module destructor variable
H A Ddmodule.d1437 Symbol* sdtor; // module destructor variable
H A Dstatementsem.d1896 Statement sdtor = new DtorExpStatement(ifs.loc, ifs.match.edtor, ifs.match); in package() local
1897 sdtor = new ScopeGuardStatement(ifs.loc, TOK.onScopeExit, sdtor); in package()
1898 ifs.ifbody = new CompoundStatement(ifs.loc, sdtor, ifs.ifbody); in package()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Dmodule.h157 Symbol *sdtor; // module destructor variable
H A Ddmodule.c68 sdtor = NULL; in Module()
H A Dstatementsem.c1970 Statement *sdtor = new DtorExpStatement(ifs->loc, ifs->match->edtor, ifs->match); in visit() local
1971 sdtor = new OnScopeStatement(ifs->loc, TOKon_scope_exit, sdtor); in visit()
1972 ifs->ifbody = new CompoundStatement(ifs->loc, sdtor, ifs->ifbody); in visit()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dtypecons.d7098 static int sdtor;
7100 this() { ++sdtor; assert(sdtor == 1); }
7101 ~this() { assert(sdtor == 1); --sdtor; }
7108 this() { ++sdtor; assert(sdtor == 2); }
7109 ~this() { assert(sdtor == 2); --sdtor; }
7112 A.sdtor = 0;
7113 scope(exit) assert(A.sdtor == 0);
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dtypecons.d8623 static int sdtor;
8625 this() { ++sdtor; assert(sdtor == 1); }
8626 ~this() { assert(sdtor == 1); --sdtor; }
8633 this() { ++sdtor; assert(sdtor == 2); }
8634 ~this() { assert(sdtor == 2); --sdtor; }
8637 A.sdtor = 0;
8638 scope(exit) assert(A.sdtor == 0);
/netbsd-src/external/gpl3/gcc.old/dist/
H A DMD5SUMS67797 62201f3ffbcfe8776877ca2670147878 gcc/testsuite/gdc.test/runnable/sdtor.d
/netbsd-src/external/gpl3/gcc/dist/
H A DMD5SUMS78142 236c43311185d3651a6d025013b2f040 gcc/testsuite/gdc.test/runnable/sdtor.d