[llvm-commits] CVS: llvm-java/runtime/runtime.c
Alkis Evlogimenos
alkis at cs.uiuc.edu
Tue Feb 1 22:08:31 PST 2005
Changes in directory llvm-java/runtime:
runtime.c updated: 1.16 -> 1.17
---
Log message:
Canonicalize runtime function names.
---
Diffs of the changes: (+5 -7)
runtime.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
Index: llvm-java/runtime/runtime.c
diff -u llvm-java/runtime/runtime.c:1.16 llvm-java/runtime/runtime.c:1.17
--- llvm-java/runtime/runtime.c:1.16 Sat Jan 15 21:01:22 2005
+++ llvm-java/runtime/runtime.c Wed Feb 2 00:08:20 2005
@@ -30,18 +30,16 @@
struct llvm_java_object_typeinfo typeinfo;
};
-struct llvm_java_object_vtable*
-llvm_java_GetObjectClass(jobject obj) {
+struct llvm_java_object_vtable* llvm_java_get_vtable(jobject obj) {
return obj->vtable;
}
-void llvm_java_SetObjectClass(jobject obj,
- struct llvm_java_object_vtable* clazz) {
+void llvm_java_set_vtable(jobject obj, struct llvm_java_object_vtable* clazz) {
obj->vtable = clazz;
}
-jint llvm_java_IsInstanceOf(jobject obj,
- struct llvm_java_object_vtable* clazz) {
+jint llvm_java_is_instance_of(jobject obj,
+ struct llvm_java_object_vtable* clazz) {
/* trivial case 1: a null object can be cast to any type */
if (!obj)
return JNI_TRUE;
@@ -66,7 +64,7 @@
}
}
-jint llvm_java_Throw(jobject obj) {
+jint llvm_java_throw(jobject obj) {
abort();
}
More information about the llvm-commits
mailing list