[kaffe] CVS kaffe (dalibor): Use gcc internal functions for accessing frames
Kaffe CVS
Kaffe Mailing List <kaffe@kaffe.org>
Thu Jan 22 14:38:04 2004
PatchSet 4363
Date: 2004/01/22 22:35:14
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Use gcc internal functions for accessing frames
2004-01-22 Christophe Dubach <christophe.dubach@epfl.ch>
* kaffe/kaffevm/jni.c
(KAFFE_JNI_SETEXCEPTFP): Use gcc's builtin frame
address function.
Members:
ChangeLog:1.1948->1.1949
kaffe/kaffevm/jni.c:1.99->1.100
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1948 kaffe/ChangeLog:1.1949
--- kaffe/ChangeLog:1.1948 Thu Jan 22 19:54:21 2004
+++ kaffe/ChangeLog Thu Jan 22 22:35:14 2004
@@ -1,3 +1,9 @@
+2004-01-22 Christophe Dubach <christophe.dubach@epfl.ch>
+
+ * kaffe/kaffevm/jni.c
+ (KAFFE_JNI_SETEXCEPTFP): Use gcc's builtin frame
+ address function.
+
2004-01-22 Dalibor Topic <robilad@kaffe.org>
* kaffe/kaffeh/sigs.c:
Index: kaffe/kaffe/kaffevm/jni.c
diff -u kaffe/kaffe/kaffevm/jni.c:1.99 kaffe/kaffe/kaffevm/jni.c:1.100
--- kaffe/kaffe/kaffevm/jni.c:1.99 Wed Jan 7 19:01:01 2004
+++ kaffe/kaffe/kaffevm/jni.c Thu Jan 22 22:35:15 2004
@@ -106,10 +106,8 @@
*/
#if defined(TRANSLATOR)
#define KAFFE_JNI_SETEXCEPTFP(ebufp) { \
- exceptionFrame currentFrameInfo; \
- FIRSTFRAME(currentFrameInfo, 0); \
- vmExcept_setJNIFrame(ebufp, (uintp) FPFRAME(¤tFrameInfo));\
- }
+ vmExcept_setJNIFrame(ebufp,(uintp)__builtin_frame_address(0));\
+ }
#else
/*
* Stack frame info isn't needed (and isn't available) in the