@@ -36,11 +36,8 @@ extern (C++):
3636
3737nothrow :
3838
39- static if (TARGET_WINDOS )
40- {
41-
4239// Determine if this Symbol is stored in a COMDAT
43- bool symbol_iscomdat3 (Symbol* s)
40+ private bool symbol_iscomdat3 (Symbol* s)
4441{
4542 version (MARS)
4643 {
@@ -65,14 +62,12 @@ enum ALLOCA_LIMIT = 0x10000;
6562 * Creates an instance of struct RUNTIME_FUNCTION:
6663 * http://msdn.microsoft.com/en-US/library/ft9x1kdx(v=vs.80).aspx
6764 *
68- * Input :
69- * sf function to generate unwind data for
65+ * Params :
66+ * sf = function to generate unwind data for
7067 */
7168
72- void win64_pdata (Symbol * sf)
69+ public void win64_pdata (Symbol * sf)
7370{
74- // return; // doesn't work yet
75-
7671 // printf("win64_pdata()\n");
7772 assert (config.exe == EX_WIN64 );
7873
@@ -108,6 +103,8 @@ void win64_pdata(Symbol *sf)
108103 if (sflen >= ALLOCA_LIMIT ) free(pdata_name);
109104}
110105
106+ private :
107+
111108/* *************************************************
112109 * Unwind data symbol goes in the .xdata section.
113110 * Input:
@@ -116,7 +113,7 @@ void win64_pdata(Symbol *sf)
116113 * generated symbol referring to unwind data
117114 */
118115
119- Symbol * win64_unwind(Symbol * sf)
116+ private Symbol * win64_unwind(Symbol * sf)
120117{
121118 // Generate the unwind name, which is $unwind$funcname
122119 size_t sflen = strlen(sf.Sident.ptr);
@@ -213,7 +210,7 @@ static if (0)
213210
214211
215212
216- dt_t * unwind_data()
213+ private dt_t * unwind_data()
217214{
218215 UNWIND_INFO ui;
219216
@@ -288,9 +285,4 @@ static if (1)
288285 dtb.nbytes(4 + ((ui.CountOfCodes + 1 ) & ~ 1 ) * 2 ,cast (char * )&ui);
289286 return dtb.finish();
290287}
291-
292- }
293- else
294- void win64_pdata (Symbol * sf) { }
295-
296288}
0 commit comments