1 /* This file has been automatically generated from "global_alloc.list" */
2 
3 #ifndef SVM_GLOBAL_ALLOC_H
4 #define SVM_GLOBAL_ALLOC_H
5 
6 /*
7 ----------------------------------------------------------------------
8 _svmm_gzalloc_env_no_exception
9 ----------------------------------------------------------------------
10 */
11 
12 #define _svmm_gzalloc_env_no_exception(ptr) \
13 _svmh_gzalloc_env_no_exception (&ptr)
14 
15 /*
16 ----------------------------------------------------------------------
17 _svmm_gzfree_env_no_exception
18 ----------------------------------------------------------------------
19 */
20 
21 #define _svmm_gzfree_env_no_exception(ptr) \
22 _svmh_gzfree_env_no_exception (&ptr)
23 
24 
25 /*
26 ----------------------------------------------------------------------
27 _svmm_gzalloc_fat_lock_no_exception
28 ----------------------------------------------------------------------
29 */
30 
31 #define _svmm_gzalloc_fat_lock_no_exception(ptr) \
32 _svmh_gzalloc_fat_lock_no_exception (&ptr)
33 
34 /*
35 ----------------------------------------------------------------------
36 _svmm_gzfree_fat_lock_no_exception
37 ----------------------------------------------------------------------
38 */
39 
40 #define _svmm_gzfree_fat_lock_no_exception(ptr) \
41 _svmh_gzfree_fat_lock_no_exception (&ptr)
42 
43 
44 /*
45 ----------------------------------------------------------------------
46 _svmm_gzalloc_initialization_no_exception
47 ----------------------------------------------------------------------
48 */
49 
50 #define _svmm_gzalloc_initialization_no_exception(ptr) \
51 _svmh_gzalloc_initialization_no_exception (&ptr)
52 
53 /*
54 ----------------------------------------------------------------------
55 _svmm_gzfree_initialization_no_exception
56 ----------------------------------------------------------------------
57 */
58 
59 #define _svmm_gzfree_initialization_no_exception(ptr) \
60 _svmh_gzfree_initialization_no_exception (&ptr)
61 
62 
63 /*
64 ----------------------------------------------------------------------
65 _svmm_gzalloc_native_ref_no_exception
66 ----------------------------------------------------------------------
67 */
68 
69 #define _svmm_gzalloc_native_ref_no_exception(ptr) \
70 _svmh_gzalloc_native_ref_no_exception (&ptr)
71 
72 /*
73 ----------------------------------------------------------------------
74 _svmm_gzfree_native_ref_no_exception
75 ----------------------------------------------------------------------
76 */
77 
78 #define _svmm_gzfree_native_ref_no_exception(ptr) \
79 _svmh_gzfree_native_ref_no_exception (&ptr)
80 
81 
82 /*
83 ----------------------------------------------------------------------
84 _svmm_gzalloc_vm_no_exception
85 ----------------------------------------------------------------------
86 */
87 
88 #define _svmm_gzalloc_vm_no_exception(ptr) \
89 _svmh_gzalloc_vm_no_exception (&ptr)
90 
91 /*
92 ----------------------------------------------------------------------
93 _svmm_gzfree_vm_no_exception
94 ----------------------------------------------------------------------
95 */
96 
97 #define _svmm_gzfree_vm_no_exception(ptr) \
98 _svmh_gzfree_vm_no_exception (&ptr)
99 
100 
101 /*
102 ----------------------------------------------------------------------
103 _svmm_gzmalloc_cchars_no_exception
104 ----------------------------------------------------------------------
105 */
106 
107 #define _svmm_gzmalloc_cchars_no_exception(n, ptr) \
108 _svmh_gzmalloc_cchars_no_exception (n, &ptr)
109 
110 /*
111 ----------------------------------------------------------------------
112 _svmm_gzmfree_cchars_no_exception
113 ----------------------------------------------------------------------
114 */
115 
116 #define _svmm_gzmfree_cchars_no_exception(ptr) \
117 _svmh_gzmfree_cchars_no_exception (&ptr)
118 
119 
120 /*
121 ----------------------------------------------------------------------
122 _svmm_gzalloc_class_loader_info
123 ----------------------------------------------------------------------
124 */
125 
126 #define _svmm_gzalloc_class_loader_info(env, ptr) \
127 _svmh_gzalloc_class_loader_info (env, &ptr)
128 
129 /*
130 ----------------------------------------------------------------------
131 _svmm_gzfree_class_loader_info
132 ----------------------------------------------------------------------
133 */
134 
135 #define _svmm_gzfree_class_loader_info(ptr) \
136 _svmh_gzfree_class_loader_info (&ptr)
137 
138 
139 /*
140 ----------------------------------------------------------------------
141 _svmm_gzalloc_gc_map_node
142 ----------------------------------------------------------------------
143 */
144 
145 #define _svmm_gzalloc_gc_map_node(env, ptr) \
146 _svmh_gzalloc_gc_map_node (env, &ptr)
147 
148 /*
149 ----------------------------------------------------------------------
150 _svmm_gzfree_gc_map_node
151 ----------------------------------------------------------------------
152 */
153 
154 #define _svmm_gzfree_gc_map_node(ptr) \
155 _svmh_gzfree_gc_map_node (&ptr)
156 
157 
158 /*
159 ----------------------------------------------------------------------
160 _svmm_gzalloc_imethod_signature_node
161 ----------------------------------------------------------------------
162 */
163 
164 #define _svmm_gzalloc_imethod_signature_node(env, ptr) \
165 _svmh_gzalloc_imethod_signature_node (env, &ptr)
166 
167 /*
168 ----------------------------------------------------------------------
169 _svmm_gzfree_imethod_signature_node
170 ----------------------------------------------------------------------
171 */
172 
173 #define _svmm_gzfree_imethod_signature_node(ptr) \
174 _svmh_gzfree_imethod_signature_node (&ptr)
175 
176 
177 /*
178 ----------------------------------------------------------------------
179 _svmm_gzalloc_memory_block
180 ----------------------------------------------------------------------
181 */
182 
183 #define _svmm_gzalloc_memory_block(env, ptr) \
184 _svmh_gzalloc_memory_block (env, &ptr)
185 
186 /*
187 ----------------------------------------------------------------------
188 _svmm_gzfree_memory_block
189 ----------------------------------------------------------------------
190 */
191 
192 #define _svmm_gzfree_memory_block(ptr) \
193 _svmh_gzfree_memory_block (&ptr)
194 
195 
196 /*
197 ----------------------------------------------------------------------
198 _svmm_gzalloc_type_node
199 ----------------------------------------------------------------------
200 */
201 
202 #define _svmm_gzalloc_type_node(env, ptr) \
203 _svmh_gzalloc_type_node (env, &ptr)
204 
205 /*
206 ----------------------------------------------------------------------
207 _svmm_gzfree_type_node
208 ----------------------------------------------------------------------
209 */
210 
211 #define _svmm_gzfree_type_node(ptr) \
212 _svmh_gzfree_type_node (&ptr)
213 
214 
215 /*
216 ----------------------------------------------------------------------
217 _svmm_gzalloc_internal_method_node
218 ----------------------------------------------------------------------
219 */
220 
221 #define _svmm_gzalloc_internal_method_node(env, ptr) \
222 _svmh_gzalloc_internal_method_node (env, &ptr)
223 
224 /*
225 ----------------------------------------------------------------------
226 _svmm_gzfree_internal_method_node
227 ----------------------------------------------------------------------
228 */
229 
230 #define _svmm_gzfree_internal_method_node(ptr) \
231 _svmh_gzfree_internal_method_node (&ptr)
232 
233 
234 /*
235 ----------------------------------------------------------------------
236 _svmm_gzalloc_zip_file
237 ----------------------------------------------------------------------
238 */
239 
240 #define _svmm_gzalloc_zip_file(env, ptr) \
241 _svmh_gzalloc_zip_file (env, &ptr)
242 
243 /*
244 ----------------------------------------------------------------------
245 _svmm_gzfree_zip_file
246 ----------------------------------------------------------------------
247 */
248 
249 #define _svmm_gzfree_zip_file(ptr) \
250 _svmh_gzfree_zip_file (&ptr)
251 
252 
253 #if defined (_SABLEVM_INLINED_THREADED_INTERPRETER)
254 
255 /*
256 ----------------------------------------------------------------------
257 _svmm_gzalloc_sequence_node
258 ----------------------------------------------------------------------
259 */
260 
261 #define _svmm_gzalloc_sequence_node(env, ptr) \
262 _svmh_gzalloc_sequence_node (env, &ptr)
263 
264 /*
265 ----------------------------------------------------------------------
266 _svmm_gzfree_sequence_node
267 ----------------------------------------------------------------------
268 */
269 
270 #define _svmm_gzfree_sequence_node(ptr) \
271 _svmh_gzfree_sequence_node (&ptr)
272 
273 
274 #endif /* _SABLEVM_INLINED_THREADED_INTERPRETER */
275 
276 /*
277 ----------------------------------------------------------------------
278 _svmm_gmalloc_cchars
279 ----------------------------------------------------------------------
280 */
281 
282 #define _svmm_gmalloc_cchars(env, n, ptr) \
283 _svmh_gmalloc_cchars (env, n, &ptr)
284 
285 /*
286 ----------------------------------------------------------------------
287 _svmm_gmfree_cchars
288 ----------------------------------------------------------------------
289 */
290 
291 #define _svmm_gmfree_cchars(ptr) \
292 _svmh_gmfree_cchars (&ptr)
293 
294 
295 /*
296 ----------------------------------------------------------------------
297 _svmm_gmalloc_ints
298 ----------------------------------------------------------------------
299 */
300 
301 #define _svmm_gmalloc_ints(env, n, ptr) \
302 _svmh_gmalloc_ints (env, n, &ptr)
303 
304 /*
305 ----------------------------------------------------------------------
306 _svmm_gmfree_ints
307 ----------------------------------------------------------------------
308 */
309 
310 #define _svmm_gmfree_ints(ptr) \
311 _svmh_gmfree_ints (&ptr)
312 
313 
314 /*
315 ----------------------------------------------------------------------
316 _svmm_gmalloc_ubytes
317 ----------------------------------------------------------------------
318 */
319 
320 #define _svmm_gmalloc_ubytes(env, n, ptr) \
321 _svmh_gmalloc_ubytes (env, n, &ptr)
322 
323 /*
324 ----------------------------------------------------------------------
325 _svmm_gmfree_ubytes
326 ----------------------------------------------------------------------
327 */
328 
329 #define _svmm_gmfree_ubytes(ptr) \
330 _svmh_gmfree_ubytes (&ptr)
331 
332 
333 /*
334 ----------------------------------------------------------------------
335 _svmm_gmalloc_chars
336 ----------------------------------------------------------------------
337 */
338 
339 #define _svmm_gmalloc_chars(env, n, ptr) \
340 _svmh_gmalloc_chars (env, n, &ptr)
341 
342 /*
343 ----------------------------------------------------------------------
344 _svmm_gmfree_chars
345 ----------------------------------------------------------------------
346 */
347 
348 #define _svmm_gmfree_chars(ptr) \
349 _svmh_gmfree_chars (&ptr)
350 
351 
352 /*
353 ----------------------------------------------------------------------
354 _svmm_gzmalloc_env_array
355 ----------------------------------------------------------------------
356 */
357 
358 #define _svmm_gzmalloc_env_array(env,n,ptr) \
359 _svmh_gzmalloc_env_array (env, n, &ptr)
360 
361 /*
362 ----------------------------------------------------------------------
363 _svmm_gzmfree_env_array
364 ----------------------------------------------------------------------
365 */
366 
367 #define _svmm_gzmfree_env_array(ptr) \
368 _svmh_gzmfree_env_array (&ptr)
369 
370 
371 /*
372 ----------------------------------------------------------------------
373 _svmm_gzmalloc_fat_lock_array
374 ----------------------------------------------------------------------
375 */
376 
377 #define _svmm_gzmalloc_fat_lock_array(env,n,ptr) \
378 _svmh_gzmalloc_fat_lock_array (env, n, &ptr)
379 
380 /*
381 ----------------------------------------------------------------------
382 _svmm_gzmfree_fat_lock_array
383 ----------------------------------------------------------------------
384 */
385 
386 #define _svmm_gzmfree_fat_lock_array(ptr) \
387 _svmh_gzmfree_fat_lock_array (&ptr)
388 
389 
390 /*
391 ----------------------------------------------------------------------
392 _svmm_gzmalloc_instruction_info
393 ----------------------------------------------------------------------
394 */
395 
396 #define _svmm_gzmalloc_instruction_info(env,n,ptr) \
397 _svmh_gzmalloc_instruction_info (env, n, &ptr)
398 
399 /*
400 ----------------------------------------------------------------------
401 _svmm_gzmfree_instruction_info
402 ----------------------------------------------------------------------
403 */
404 
405 #define _svmm_gzmfree_instruction_info(ptr) \
406 _svmh_gzmfree_instruction_info (&ptr)
407 
408 
409 /*
410 ----------------------------------------------------------------------
411 _svmm_gzmalloc_instruction_preparation
412 ----------------------------------------------------------------------
413 */
414 
415 #define _svmm_gzmalloc_instruction_preparation(env,n,ptr) \
416 _svmh_gzmalloc_instruction_preparation (env, n, &ptr)
417 
418 /*
419 ----------------------------------------------------------------------
420 _svmm_gzmfree_instruction_preparation
421 ----------------------------------------------------------------------
422 */
423 
424 #define _svmm_gzmfree_instruction_preparation(ptr) \
425 _svmh_gzmfree_instruction_preparation (&ptr)
426 
427 
428 /*
429 ----------------------------------------------------------------------
430 _svmm_gzmalloc_local_preparation
431 ----------------------------------------------------------------------
432 */
433 
434 #define _svmm_gzmalloc_local_preparation(env,n,ptr) \
435 _svmh_gzmalloc_local_preparation (env, n, &ptr)
436 
437 /*
438 ----------------------------------------------------------------------
439 _svmm_gzmfree_local_preparation
440 ----------------------------------------------------------------------
441 */
442 
443 #define _svmm_gzmfree_local_preparation(ptr) \
444 _svmh_gzmfree_local_preparation (&ptr)
445 
446 
447 /*
448 ----------------------------------------------------------------------
449 _svmm_gzmalloc_ubytes
450 ----------------------------------------------------------------------
451 */
452 
453 #define _svmm_gzmalloc_ubytes(env,n,ptr) \
454 _svmh_gzmalloc_ubytes (env, n, &ptr)
455 
456 /*
457 ----------------------------------------------------------------------
458 _svmm_gzmfree_ubytes
459 ----------------------------------------------------------------------
460 */
461 
462 #define _svmm_gzmfree_ubytes(ptr) \
463 _svmh_gzmfree_ubytes (&ptr)
464 
465 
466 /*
467 ----------------------------------------------------------------------
468 _svmm_gzmalloc_boot_class_path_entry
469 ----------------------------------------------------------------------
470 */
471 
472 #define _svmm_gzmalloc_boot_class_path_entry(env,n,ptr) \
473 _svmh_gzmalloc_boot_class_path_entry (env, n, &ptr)
474 
475 /*
476 ----------------------------------------------------------------------
477 _svmm_gzmfree_boot_class_path_entry
478 ----------------------------------------------------------------------
479 */
480 
481 #define _svmm_gzmfree_boot_class_path_entry(ptr) \
482 _svmh_gzmfree_boot_class_path_entry (&ptr)
483 
484 
485 /*
486 ----------------------------------------------------------------------
487 _svmm_gzmalloc_zip_file_entry
488 ----------------------------------------------------------------------
489 */
490 
491 #define _svmm_gzmalloc_zip_file_entry(env,n,ptr) \
492 _svmh_gzmalloc_zip_file_entry (env, n, &ptr)
493 
494 /*
495 ----------------------------------------------------------------------
496 _svmm_gzmfree_zip_file_entry
497 ----------------------------------------------------------------------
498 */
499 
500 #define _svmm_gzmfree_zip_file_entry(ptr) \
501 _svmh_gzmfree_zip_file_entry (&ptr)
502 
503 
504 #endif /* NOT SVM_GLOBAL_ALLOC_H */
505