File: StagedAlloc.mlb

package info (click to toggle)
mlton 20210117%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 58,464 kB
  • sloc: ansic: 27,682; sh: 4,455; asm: 3,569; lisp: 2,879; makefile: 2,347; perl: 1,169; python: 191; pascal: 68; javascript: 7
file content (238 lines) | stat: -rw-r--r-- 6,804 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238

ann
  "nonexhaustiveBind warn" "nonexhaustiveMatch warn"
  "redundantBind warn" "redundantMatch warn"
  "sequenceNonUnit ignore"
  "warnUnused false" "forceUsed"
  "allowOrPats true" "allowSigWithtype true" "allowVectorExpsAndPats true"
in

local
  basis l33 =
    bas
      (* $/basis.cm ====> *) $(SML_LIB)/basis/basis.mlb $(SML_LIB)/basis/sml-nj.mlb $(SML_LIB)/basis/unsafe.mlb
    end
  basis l51 =
    bas
      (* $/smlnj-lib.cm ====> *) $(SML_LIB)/smlnj-lib/Util/smlnj-lib.mlb
    end
in
local
   $(SML_LIB)/basis/pervasive.mlb
   local
      open l33
   in
      structure gs_0 = Char
      structure gs_1 = CharArray
      structure gs_2 = CharVector
      structure gs_3 = FixedInt
      structure gs_4 = General
      structure gs_5 = Int
      structure gs_6 = Int32
      structure gs_7 = Int64
      structure gs_8 = IntInf
      structure gs_9 = LargeInt
      structure gs_10 = LargeReal
      structure gs_11 = LargeWord
      structure gs_12 = OS
      structure gs_13 = Position
      structure gs_14 = Real
      structure gs_15 = Real64
      structure gs_16 = RealArray
      structure gs_17 = RealArraySlice
      structure gs_18 = RealVector
      structure gs_19 = RealVectorSlice
      structure gs_20 = SMLofNJ
      structure gs_21 = Socket
      structure gs_22 = String
      structure gs_23 = Substring
      structure gs_24 = SysWord
      structure gs_25 = Time
      structure gs_26 = Word
      structure gs_27 = Word32
      structure gs_28 = Word64
      structure gs_29 = Word8
   end
   local
      open l33
   in
      structure gs_30 = List
   end
   local
      ../staged-alloc/allocator/staged-allocation-sig.sml
   in
      signature gs_31 = STAGED_ALLOCATION
   end
   local
      ../staged-alloc/conventions/c-loc-kind.sml
   in
      structure gs_32 = CLocKind
   end
   local
      structure CLocKind = gs_32
      structure Char = gs_0
      structure CharArray = gs_1
      structure CharVector = gs_2
      structure FixedInt = gs_3
      structure General = gs_4
      structure Int = gs_5
      structure Int32 = gs_6
      structure Int64 = gs_7
      structure IntInf = gs_8
      structure LargeInt = gs_9
      structure LargeReal = gs_10
      structure LargeWord = gs_11
      structure List = gs_30
      structure OS = gs_12
      structure Position = gs_13
      structure Real = gs_14
      structure Real64 = gs_15
      structure RealArray = gs_16
      structure RealArraySlice = gs_17
      structure RealVector = gs_18
      structure RealVectorSlice = gs_19
      structure SMLofNJ = gs_20
      signature STAGED_ALLOCATION = gs_31
      structure Socket = gs_21
      structure String = gs_22
      structure Substring = gs_23
      structure SysWord = gs_24
      structure Time = gs_25
      structure Word = gs_26
      structure Word32 = gs_27
      structure Word64 = gs_28
      structure Word8 = gs_29
      ../staged-alloc/conventions/x86-c-fn.sml
   in
      functor gs_33 = X86CConventionFn
   end
   local
      open l51
   in
      structure gs_34 = IntBinaryMap
   end
   local
      structure Char = gs_0
      structure CharArray = gs_1
      structure CharVector = gs_2
      structure FixedInt = gs_3
      structure General = gs_4
      structure Int = gs_5
      structure Int32 = gs_6
      structure Int64 = gs_7
      structure IntBinaryMap = gs_34
      structure IntInf = gs_8
      structure LargeInt = gs_9
      structure LargeReal = gs_10
      structure LargeWord = gs_11
      structure List = gs_30
      structure OS = gs_12
      structure Position = gs_13
      structure Real = gs_14
      structure Real64 = gs_15
      structure RealArray = gs_16
      structure RealArraySlice = gs_17
      structure RealVector = gs_18
      structure RealVectorSlice = gs_19
      structure SMLofNJ = gs_20
      signature STAGED_ALLOCATION = gs_31
      structure Socket = gs_21
      structure String = gs_22
      structure Substring = gs_23
      structure SysWord = gs_24
      structure Time = gs_25
      structure Word = gs_26
      structure Word32 = gs_27
      structure Word64 = gs_28
      structure Word8 = gs_29
      ../staged-alloc/allocator/staged-allocation-fn.sml
   in
      functor gs_35 = StagedAllocationFn
   end
   local
      structure CLocKind = gs_32
      structure Char = gs_0
      structure CharArray = gs_1
      structure CharVector = gs_2
      structure FixedInt = gs_3
      structure General = gs_4
      structure Int = gs_5
      structure Int32 = gs_6
      structure Int64 = gs_7
      structure IntInf = gs_8
      structure LargeInt = gs_9
      structure LargeReal = gs_10
      structure LargeWord = gs_11
      structure List = gs_30
      structure OS = gs_12
      structure Position = gs_13
      structure Real = gs_14
      structure Real64 = gs_15
      structure RealArray = gs_16
      structure RealArraySlice = gs_17
      structure RealVector = gs_18
      structure RealVectorSlice = gs_19
      structure SMLofNJ = gs_20
      signature STAGED_ALLOCATION = gs_31
      structure Socket = gs_21
      structure String = gs_22
      structure Substring = gs_23
      structure SysWord = gs_24
      structure Time = gs_25
      structure Word = gs_26
      structure Word32 = gs_27
      structure Word64 = gs_28
      structure Word8 = gs_29
      ../staged-alloc/conventions/sparc-c-fn.sml
   in
      functor gs_36 = SparcCConventionFn
   end
   local
      structure CLocKind = gs_32
      structure Char = gs_0
      structure CharArray = gs_1
      structure CharVector = gs_2
      structure FixedInt = gs_3
      structure General = gs_4
      structure Int = gs_5
      structure Int32 = gs_6
      structure Int64 = gs_7
      structure IntInf = gs_8
      structure LargeInt = gs_9
      structure LargeReal = gs_10
      structure LargeWord = gs_11
      structure List = gs_30
      structure OS = gs_12
      structure Position = gs_13
      structure Real = gs_14
      structure Real64 = gs_15
      structure RealArray = gs_16
      structure RealArraySlice = gs_17
      structure RealVector = gs_18
      structure RealVectorSlice = gs_19
      structure SMLofNJ = gs_20
      signature STAGED_ALLOCATION = gs_31
      structure Socket = gs_21
      structure String = gs_22
      structure Substring = gs_23
      structure SysWord = gs_24
      structure Time = gs_25
      structure Word = gs_26
      structure Word32 = gs_27
      structure Word64 = gs_28
      structure Word8 = gs_29
      ../staged-alloc/conventions/x86-64-c-fn.sml
   in
      functor gs_37 = X86_64CConventionFn
   end
in
   structure CLocKind = gs_32
   signature STAGED_ALLOCATION = gs_31
   functor SparcCConventionFn = gs_36
   functor StagedAllocationFn = gs_35
   functor X86CConventionFn = gs_33
   functor X86_64CConventionFn = gs_37
end
end

end