1 /*
2 * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
1374 declare_toplevel_type(void*) \
1375 declare_toplevel_type(int*) \
1376 declare_toplevel_type(char*) \
1377 declare_toplevel_type(char**) \
1378 declare_toplevel_type(u_char*) \
1379 declare_toplevel_type(unsigned char*) \
1380 declare_toplevel_type(volatile unsigned char*) \
1381 \
1382 /*******************************************************************/ \
1383 /* Types which it will be handy to have available over in the SA */ \
1384 /* in order to do platform-independent address -> integer coercion */ \
1385 /* (note: these will be looked up by name) */ \
1386 /*******************************************************************/ \
1387 \
1388 declare_unsigned_integer_type(size_t) \
1389 declare_integer_type(ssize_t) \
1390 declare_integer_type(intx) \
1391 declare_integer_type(intptr_t) \
1392 declare_unsigned_integer_type(uintx) \
1393 declare_unsigned_integer_type(uintptr_t) \
1394 declare_unsigned_integer_type(uint32_t) \
1395 declare_unsigned_integer_type(uint64_t) \
1396 \
1397 /******************************************/ \
1398 /* OopDesc hierarchy (NOTE: some missing) */ \
1399 /******************************************/ \
1400 \
1401 declare_toplevel_type(oopDesc) \
1402 declare_type(arrayOopDesc, oopDesc) \
1403 declare_type(objArrayOopDesc, arrayOopDesc) \
1404 declare_type(instanceOopDesc, oopDesc) \
1405 declare_type(markOopDesc, oopDesc) \
1406 \
1407 /**************************************************/ \
1408 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \
1409 /**************************************************/ \
1410 \
1411 declare_toplevel_type(CompiledICHolder) \
1412 declare_toplevel_type(MetaspaceObj) \
1413 declare_type(Metadata, MetaspaceObj) \
|
1 /*
2 * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
1374 declare_toplevel_type(void*) \
1375 declare_toplevel_type(int*) \
1376 declare_toplevel_type(char*) \
1377 declare_toplevel_type(char**) \
1378 declare_toplevel_type(u_char*) \
1379 declare_toplevel_type(unsigned char*) \
1380 declare_toplevel_type(volatile unsigned char*) \
1381 \
1382 /*******************************************************************/ \
1383 /* Types which it will be handy to have available over in the SA */ \
1384 /* in order to do platform-independent address -> integer coercion */ \
1385 /* (note: these will be looked up by name) */ \
1386 /*******************************************************************/ \
1387 \
1388 declare_unsigned_integer_type(size_t) \
1389 declare_integer_type(ssize_t) \
1390 declare_integer_type(intx) \
1391 declare_integer_type(intptr_t) \
1392 declare_unsigned_integer_type(uintx) \
1393 declare_unsigned_integer_type(uintptr_t) \
1394 declare_unsigned_integer_type(uint8_t) \
1395 declare_unsigned_integer_type(uint32_t) \
1396 declare_unsigned_integer_type(uint64_t) \
1397 \
1398 /******************************************/ \
1399 /* OopDesc hierarchy (NOTE: some missing) */ \
1400 /******************************************/ \
1401 \
1402 declare_toplevel_type(oopDesc) \
1403 declare_type(arrayOopDesc, oopDesc) \
1404 declare_type(objArrayOopDesc, arrayOopDesc) \
1405 declare_type(instanceOopDesc, oopDesc) \
1406 declare_type(markOopDesc, oopDesc) \
1407 \
1408 /**************************************************/ \
1409 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \
1410 /**************************************************/ \
1411 \
1412 declare_toplevel_type(CompiledICHolder) \
1413 declare_toplevel_type(MetaspaceObj) \
1414 declare_type(Metadata, MetaspaceObj) \
|