Commit 1fb34f17 by Mike Stump

* objc-act.c (build_next_objc_exception_stuff): Use JBLEN instead of _JBLEN.

From-SVN: r114053
parent 860d1415
2006-05-24 Mike Stump <mrs@apple.com>
* objc-act.c (build_next_objc_exception_stuff): Use JBLEN instead of _JBLEN.
2006-05-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 2006-05-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR objc/27240 PR objc/27240
......
...@@ -3954,7 +3954,7 @@ objc_build_synchronized (location_t start_locus, tree mutex, tree body) ...@@ -3954,7 +3954,7 @@ objc_build_synchronized (location_t start_locus, tree mutex, tree body)
struct _objc_exception_data struct _objc_exception_data
{ {
int buf[_JBLEN]; int buf[JBLEN];
void *pointers[4]; void *pointers[4];
}; */ }; */
...@@ -3963,10 +3963,10 @@ objc_build_synchronized (location_t start_locus, tree mutex, tree body) ...@@ -3963,10 +3963,10 @@ objc_build_synchronized (location_t start_locus, tree mutex, tree body)
#ifdef TARGET_POWERPC #ifdef TARGET_POWERPC
/* snarfed from /usr/include/ppc/setjmp.h */ /* snarfed from /usr/include/ppc/setjmp.h */
#define _JBLEN (26 + 36 + 129 + 1) #define JBLEN (26 + 36 + 129 + 1)
#else #else
/* snarfed from /usr/include/i386/{setjmp,signal}.h */ /* snarfed from /usr/include/i386/{setjmp,signal}.h */
#define _JBLEN 18 #define JBLEN 18
#endif #endif
static void static void
...@@ -3977,9 +3977,9 @@ build_next_objc_exception_stuff (void) ...@@ -3977,9 +3977,9 @@ build_next_objc_exception_stuff (void)
objc_exception_data_template objc_exception_data_template
= start_struct (RECORD_TYPE, get_identifier (UTAG_EXCDATA)); = start_struct (RECORD_TYPE, get_identifier (UTAG_EXCDATA));
/* int buf[_JBLEN]; */ /* int buf[JBLEN]; */
index = build_index_type (build_int_cst (NULL_TREE, _JBLEN - 1)); index = build_index_type (build_int_cst (NULL_TREE, JBLEN - 1));
field_decl = create_field_decl (build_array_type (integer_type_node, index), field_decl = create_field_decl (build_array_type (integer_type_node, index),
"buf"); "buf");
field_decl_chain = field_decl; field_decl_chain = field_decl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment