summaryrefslogtreecommitdiff
path: root/gcc/melt-runtime.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-28 23:09:22 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-28 23:09:22 +0000
commit416a49f3fa76df3bb4453de5b44438b3110d03c1 (patch)
tree1a572c120d9eb6c19d7c2d80875304b0ff7b7dde /gcc/melt-runtime.h
parentd33d1009f16643a5bb6943a99a14c72ee97ed225 (diff)
downloadgcc-416a49f3fa76df3bb4453de5b44438b3110d03c1.tar.gz
2010-06-29 Basile Starynkevitch <basile@starynkevitch.net>
* gcc/Makefile.in (MELT_OBJ): removed definition, use melt-runtime.o. (melt-run-md5.h): Added its generation. * gcc/run-melt.h: removed file, by renaming it as... * gcc/melt-run.h: new file, it was run-melt.h previously. (MELT_SET_MODULE_INITIAL_FRAME, MELT_CLEAR_MODULE_INITIAL_FRAME): Added macros. * gcc/melt-make.mk: added warmelt2n target... * gcc/melt-runtime.h (melt_run_preprocessed_md5): added declaration. (struct callframe_melt_st) Added FIXME comment. * gcc/melt-runtime.c (melt_marking_callback): added debug messages & FIXME comment. (struct melt_module_info_st): Added FIXME comment. (load_checked_dynamic_module_index): Use dynmd5prepromeltrun... Removed duplicate tests. (melt_output_cfile_decl_impl_secondary): Generate md5prepromeltrun_melt. Added include of generated melt-run-md5.h. * gcc/melt/warmelt-outobj.melt: added generation of MELT_SET_MODULE_INITIAL_FRAME & MELT_CLEAR_MODULE_INITIAL_FRAME. * gcc/melt/generated/warmelt-first.0.c: Regenerated. * gcc/melt/generated/warmelt-normatch.0+01.c: Regenerated. * gcc/melt/generated/warmelt-normatch.0+02.c: Regenerated. * gcc/melt/generated/warmelt-normal.0.c: Regenerated. * gcc/melt/generated/warmelt-normatch.0+03.c: Regenerated. * gcc/melt/generated/warmelt-macro.0.c: Regenerated. * gcc/melt/generated/warmelt-debug.0+01.c: Regenerated. * gcc/melt/generated/warmelt-outobj.0.c: Regenerated. * gcc/melt/generated/warmelt-first.0+01.c: Regenerated. * gcc/melt/generated/warmelt-normal.0+01.c: Regenerated. * gcc/melt/generated/warmelt-genobj.0.c: Regenerated. * gcc/melt/generated/warmelt-normal.0+02.c: Regenerated. * gcc/melt/generated/warmelt-normal.0+03.c: Regenerated. * gcc/melt/generated/warmelt-base.0.c: Regenerated. * gcc/melt/generated/warmelt-normatch.0.c: Regenerated. * gcc/melt/generated/warmelt-macro.0+01.c: Regenerated. * gcc/melt/generated/warmelt-outobj.0+01.c: Regenerated. * gcc/melt/generated/warmelt-macro.0+02.c: Regenerated. * gcc/melt/generated/warmelt-macro.0+03.c: Regenerated. * gcc/melt/generated/warmelt-outobj.0+02.c: Regenerated. * gcc/melt/generated/warmelt-genobj.0+01.c: Regenerated. * gcc/melt/generated/warmelt-outobj.0+03.c: Regenerated. * gcc/melt/generated/warmelt-genobj.0+02.c: Regenerated. * gcc/melt/generated/warmelt-genobj.0+03.c: Regenerated. * gcc/melt/generated/gt-melt-runtime-plugin.h: Regenerated. * gcc/melt/generated/warmelt-debug.0.c: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@161516 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-runtime.h')
-rw-r--r--gcc/melt-runtime.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/melt-runtime.h b/gcc/melt-runtime.h
index 56bf0924e07..f75257d7402 100644
--- a/gcc/melt-runtime.h
+++ b/gcc/melt-runtime.h
@@ -3378,6 +3378,10 @@ melt_put_int (melt_ptr_t v, long x)
for more */
struct callframe_melt_st
{
+ /* FIXME: nbvar should be an int, and when it is negative, clos
+ should really be a pointer to a marking routine. See comment in
+ melt_marking_callback & crash of testcase tfullgc.melt! */
+
unsigned nbvar;
#if ENABLE_CHECKING
const char* flocs;
@@ -3678,5 +3682,7 @@ melt_get_file(melt_ptr_t file_p)
/* strangely, gcc/input.h don't define yet that macro. */
#define LOCATION_COLUMN(LOC) ((expand_location (LOC)).column)
+extern const char melt_run_preprocessed_md5[]; /* defined in generated file melt-run-md5.h */
+
#endif /*MELT_INCLUDED_ */
/* eof melt-runtime.h */