Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_VMEntries.hpp @ 1412:9195b99c841b
Added first VM entry method.
TODO: Check why initialization method of compiler is not called. Register native methods only once.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Mon, 17 May 2010 16:37:23 +0200 |
parents | 35069ca331f2 |
children | 1ecc8f0aad00 |
comparison
equal
deleted
inserted
replaced
1411:d0753a274633 | 1412:9195b99c841b |
---|---|
20 * CA 95054 USA or visit www.sun.com if you need additional information or | 20 * CA 95054 USA or visit www.sun.com if you need additional information or |
21 * have any questions. | 21 * have any questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #ifndef _Included_com_sun_hotspot_c1x_VMEntries | |
26 #define _Included_com_sun_hotspot_c1x_VMEntries | |
27 #ifdef __cplusplus | |
28 extern "C" { | |
29 | |
30 #define CC (char*) /*cast a literal from (const char*)*/ | |
31 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f) | |
32 | |
33 | |
34 #endif | |
35 /* | |
36 * Class: com_sun_hotspot_c1x_VMEntries | |
37 * Method: RiMethod_code | |
38 * Signature: (Ljava/lang/Object;)[B | |
39 */ | |
40 JNIEXPORT jbyteArray JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1code | |
41 (JNIEnv *, jclass, jobject); | |
42 | |
43 | |
44 extern JNINativeMethod VMEntries_methods[]; | |
45 int VMEntries_methods_count(); | |
46 | |
47 #ifdef __cplusplus | |
48 } | |
49 #endif | |
50 #endif |