2013-06-21  Basile Starynkevitch  <basile@starynkevitch.net>

	* testsuite/melt/thook-7.melt: New test.

	* melt/warmelt-normal.melt (normalize_lambda, normexp_lambda): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200300 138bc75d-0d04-0410-961f-82ee72b054a4
2013-06-21  Basile Starynkevitch  <basile@starynkevitch.net>
	{{tests t-meltgcmewint.c & thook-7.melt passing}}

	* melt/warmelt-normal.melt (normalize_lambda): Set insideflag
	correctly. More debug.
	(normexp_lambda): More debug.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200313 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-21  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Regenerate}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+01.c: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+01.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+01.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+07.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+01.c: Regenerate.
	* melt/generated/warmelt-normal+02.c: Regenerate.
	* melt/generated/warmelt-normal+03.c: Regenerate.
	* melt/generated/warmelt-normal+04.c: Regenerate.
	* melt/generated/warmelt-normal+05.c: Regenerate.
	* melt/generated/warmelt-normal+06.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+05.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+06.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200314 138bc75d-0d04-0410-961f-82ee72b054a4
[gcc/]


2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	{{REPL mode does not seems to work correctly}}

	* melt-runtime.h (MELT_VERSION_STRING): Bump to 0.9.9-pre.

	* melt-runtime.c (melt_marking_callback): Add casts to reduce
	warnings.
	(melt_garbcoll): Increase default and min,max threshold numbers to
	reduce spurious full GC... Add casts.
	(melt_warn_for_no_expected_secondary_results): Spelling typo.
	(melt_handle_melt_attribute): Remove curlocbuf.

	* params.def (PARAM_MELT_FULL_THRESHOLD, PARAM_MELT_FULL_PERIOD):
	Increase.

	* melt/warmelt-normal.melt (normexp_cheader, normexp_cimplement):
	Returns twice nil.

	* melt/warmelt-genobj.melt (compile2obj_initproc) Don't warn about
	creating a fresh environment.


[contrib/]

2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>

	* MELT-Plugin-Makefile: More informational messages.
	(MELTGCC_BUILD_WITH_CXX) GCC 4.8 is always built with C++.

	* make-melt-plugin-source-tar.sh: Generated file
	GCCMELT-SOURCE-DATE may contain the svn revision.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200327 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	{{REPL mode works, but LIST macro don't work well in it}}

	* melt/warmelt-debug.melt (dbg_out): Simplified test to output.

	* melt/warmelt-outobj.melt (translate_run_melt_expressions): The
	temporary raw fileprefix contains the pid to ensure unicity.

	* melt/warmelt-hooks.melt (melt_invoke_input_callbacks): 0
	i.e. stdin is a permissible file descriptor, useful for REPL.

	* melt/warmelt-modes.melt (repl_processor, repl_docmd): More debug
	and increase poll time to 60 seconds.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200330 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	{{REPL mode works, even with a piped input like from shell command
	printf "(list 'a 'b)\n\n" ....}}

	* melt/warmelt-macro.melt (mexpand_debug_msg): Should fail unless
	bootstrapping.

	* melt/warmelt-hooks.melt (hook_poll_inputs): Calls poll -for
	sleeping- even without any listening input channel.
	(is_polling_inputs, every_polling_input, get_polling_input): New
	functions.
	* melt/warmelt-modes.melt (repl_processor, repl_docmd): Stops on
	eof on stdin.

	* testsuite/melt/ttuplist.melt: Improve to make it work again.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200332 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/warmelt-debug.melt (dbgout_list_method): Works better.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200334 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+01.c: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+01.c: Regenerate.
	* melt/generated/warmelt-debug+02.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+01.c: Regenerate.
	* melt/generated/warmelt-genobj+02.c: Regenerate.
	* melt/generated/warmelt-genobj+03.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+06.c: Regenerate.
	* melt/generated/warmelt-genobj+07.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-hooks+01.c: Regenerate.
	* melt/generated/warmelt-hooks+02.c: Regenerate.
	* melt/generated/warmelt-hooks+03.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.c: Regenerate.
	* melt/generated/warmelt-macro+06.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+03.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+02.c: Regenerate.
	* melt/generated/warmelt-normal+04.c: Regenerate.
	* melt/generated/warmelt-normal+06.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+05.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+06.c: Regenerate.
	* melt/generated/warmelt-outobj+07.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200335 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt/warmelt-genobj.melt (compile2obj_initproc): The emitted
	warning for no parent environment is meaningful only when
	MELT_HAS_INITIAL_ENVIRONMENT.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200336 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h (MELT_VERSION_STRING): Bump to 0.9.9-quasi...

	* melt/warmelt-first.melt (debug_msg_fun): Remove.
	(melt_low_debug): New primitive.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200337 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>

	{{Regenerate, for 0.9.9 release}}
	* melt/generated/meltrunsup-inc.c: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+01.c: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.c: Regenerate.
	* melt/generated/warmelt-debug+01.c: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.c: Regenerate.
	* melt/generated/warmelt-first+01.c: Regenerate.
	* melt/generated/warmelt-first+02.c: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.c: Regenerate.
	* melt/generated/warmelt-genobj+01.c: Regenerate.
	* melt/generated/warmelt-genobj+02.c: Regenerate.
	* melt/generated/warmelt-genobj+03.c: Regenerate.
	* melt/generated/warmelt-genobj+04.c: Regenerate.
	* melt/generated/warmelt-genobj+05.c: Regenerate.
	* melt/generated/warmelt-genobj+06.c: Regenerate.
	* melt/generated/warmelt-genobj+07.c: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.c: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.c: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.c: Regenerate.
	* melt/generated/warmelt-modes+01.c: Regenerate.
	* melt/generated/warmelt-modes+02.c: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.c: Regenerate.
	* melt/generated/warmelt-normal+02.c: Regenerate.
	* melt/generated/warmelt-normal+04.c: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.c: Regenerate.
	* melt/generated/warmelt-normatch+05.c: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.c: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.c: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200338 138bc75d-0d04-0410-961f-82ee72b054a4
[./]

2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	{{MELT plugin 0.9.9 release}}
	* INSTALL/README-MELT-PLUGIN: slightly improved instructions.


[gcc/]
2013-06-22  Basile Starynkevitch  <basile@starynkevitch.net>
	{{MELT plugin release 0.9.9}}
	* melt-runtime.h (MELT_VERSION_STRING): Bump to 0.9.9 release.

	* melt-module.mk (GCCMELT_OPTIMIZED_FLAGS): Use -O2, not -O1.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200339 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-23  Basile Starynkevitch  <basile@starynkevitch.net>
	* melt-runtime.h (MELT_VERSION_STRING): Bump to 0.9.9-post.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200351 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-23  Basile Starynkevitch  <basile@starynkevitch.net>
	{{Fully switching to C++; first, emit C++ file names; the
	generated *+meltdesc.c file stays in plain C}}

	* melt/generated/: Rename all warmelt*.c files as warmelt*.cc
	files. Also hand-replaced some ".c" with ".cc" in
	warmelt-outobj*.cc files.

	* Makefile.in (upgrade-warmelt): Process *.cc files and use astyle, not indent.

	* melt-module.mk: Handle *.cc files not *.c ones.
	* melt-build-script.tpl: Likewise.
	* melt-build-script.sh: Regenerate.
	* melt-module.mk: Handle *.cc files not *.c ones.
	* melt-runtime.h (meltgc_new_string_generated_c_filename) Rename as...
	(meltgc_new_string_generated_cc_filename): Rename, also add macro
	meltgc_new_string_generated_c_filename for compatibility.
	* melt-runtime.c: Ensure that we have GCC 4.7 at least.
	(meltgc_new_string_generated_c_filename) Rename as...
	(meltgc_new_string_generated_cc_filename): Rename.
	(meltgc_run_c_extension): Renamse as...
	(meltgc_run_cc_extension): Rename, also add macro
	meltgc_run_c_extension for compatibility
	(melt_load_module_index): Wants *.cc.
	(melt_output_cfile_decl_impl_secondary_option): Likewise.
	* melt/warmelt-base.melt (make_string_generated_c_filename):
	Rename as ...
	(make_string_generated_cc_filename): Renamed.
	* melt/warmelt-genobj.melt (compile2obj_initextendproc): Change comment.
	* melt/warmelt-outobj.melt (class_secondary_c_file)
	(translate_to_c_module_melt_sources): Rename as..
	(class_secondary_cc_file, translate_to_cc_module_melt_sources):
	New. Adapt for *.cc emission.
	(output_melt_descriptor): Adapt for *.cc emission.
	* melt/warmelt-modes.melt (runfile_docmd, runtypesupport_docmd): Likewise.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200362 138bc75d-0d04-0410-961f-82ee72b054a4
[gcc/]
2013-06-24  Basile Starynkevitch  <basile@starynkevitch.net>
	{{The header meltrunsup.h cannot be renamed as meltrunsup.hh
	because gengtype don't allow that. But we rename the generated
	meltrunsup-inc.c as meltrunsup-inc.cc...}}
	* Makefile.in (melt-runtime.args, GTFILES, upgrade-warmelt): Use
	meltrunsup-inc.cc file.

	* melt/generated/meltrunsup-inc.c: Rename as...
	* melt/generated/meltrunsup-inc.cc: New name for this file.

	* melt-runtime.h: Mention meltrunsup-inc.cc in comments.
	* melt-runtime.c: Include "meltrunsup-inc.cc".

	* melt/warmelt-modes.melt (runtypesupport_docmd): Generate
	meltrunsup.h & meltrunsup-inc.cc files.


[contrib/]
2013-06-24  Basile Starynkevitch  <basile@starynkevitch.net>
	{{MELT is now C++ only}}
	* MELT-Plugin-Makefile: Use meltrunsup-inc.cc and only a C++
	compiler.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200365 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* Makefile.in (upgrade-warmelt): Use "astyle --style=gnu" instead
	of "astyle -gnu" ...

	* melt/warmelt-outobj.melt (outpucod_initialmoduleroutine): Emit
	better the forward declaration of melt_start_this_module & struct
	melt_initial_frame_st...

	* melt-module.mk ($(GCCMELTGEN_BUILD)%.quicklybuilt.meltmdsumedpic.o): Correct typo.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200366 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-24  Basile Starynkevitch  <basile@starynkevitch.net>
	{{make upgrade-warmelt don't really work}}
	* melt-upgrade.sh: New file.
	* Makefile.in (upgrade-warmelt): Use it.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200372 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-24  Basile Starynkevitch  <basile@starynkevitch.net>
	{{regenerated, as C++ files only}}
	* melt-upgrade.sh: Work ok...
	* melt/generated/meltrunsup-inc.cc: Regenerate.
	* melt/generated/meltrunsup.h: Regenerate.
	* melt/generated/warmelt-base+01.cc: Regenerate.
	* melt/generated/warmelt-base+02.cc: Regenerate.
	* melt/generated/warmelt-base+meltdesc.c: Regenerate.
	* melt/generated/warmelt-base+melttime.h: Regenerate.
	* melt/generated/warmelt-base.cc: Regenerate.
	* melt/generated/warmelt-debug+01.cc: Regenerate.
	* melt/generated/warmelt-debug+02.cc: Regenerate.
	* melt/generated/warmelt-debug+meltdesc.c: Regenerate.
	* melt/generated/warmelt-debug+melttime.h: Regenerate.
	* melt/generated/warmelt-debug.cc: Regenerate.
	* melt/generated/warmelt-first+01.cc: Regenerate.
	* melt/generated/warmelt-first+02.cc: Regenerate.
	* melt/generated/warmelt-first+meltdesc.c: Regenerate.
	* melt/generated/warmelt-first+melttime.h: Regenerate.
	* melt/generated/warmelt-first.cc: Regenerate.
	* melt/generated/warmelt-genobj+01.cc: Regenerate.
	* melt/generated/warmelt-genobj+02.cc: Regenerate.
	* melt/generated/warmelt-genobj+03.cc: Regenerate.
	* melt/generated/warmelt-genobj+04.cc: Regenerate.
	* melt/generated/warmelt-genobj+05.cc: Regenerate.
	* melt/generated/warmelt-genobj+06.cc: Regenerate.
	* melt/generated/warmelt-genobj+07.cc: Regenerate.
	* melt/generated/warmelt-genobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-genobj+melttime.h: Regenerate.
	* melt/generated/warmelt-genobj.cc: Regenerate.
	* melt/generated/warmelt-hooks+01.cc: Regenerate.
	* melt/generated/warmelt-hooks+02.cc: Regenerate.
	* melt/generated/warmelt-hooks+03.cc: Regenerate.
	* melt/generated/warmelt-hooks+meltdesc.c: Regenerate.
	* melt/generated/warmelt-hooks+melttime.h: Regenerate.
	* melt/generated/warmelt-hooks.cc: Regenerate.
	* melt/generated/warmelt-macro+01.cc: Regenerate.
	* melt/generated/warmelt-macro+02.cc: Regenerate.
	* melt/generated/warmelt-macro+03.cc: Regenerate.
	* melt/generated/warmelt-macro+04.cc: Regenerate.
	* melt/generated/warmelt-macro+05.cc: Regenerate.
	* melt/generated/warmelt-macro+06.cc: Regenerate.
	* melt/generated/warmelt-macro+meltdesc.c: Regenerate.
	* melt/generated/warmelt-macro+melttime.h: Regenerate.
	* melt/generated/warmelt-macro.cc: Regenerate.
	* melt/generated/warmelt-modes+01.cc: Regenerate.
	* melt/generated/warmelt-modes+02.cc: Regenerate.
	* melt/generated/warmelt-modes+03.cc: Regenerate.
	* melt/generated/warmelt-modes+meltdesc.c: Regenerate.
	* melt/generated/warmelt-modes+melttime.h: Regenerate.
	* melt/generated/warmelt-modes.cc: Regenerate.
	* melt/generated/warmelt-normal+01.cc: Regenerate.
	* melt/generated/warmelt-normal+02.cc: Regenerate.
	* melt/generated/warmelt-normal+03.cc: Regenerate.
	* melt/generated/warmelt-normal+04.cc: Regenerate.
	* melt/generated/warmelt-normal+05.cc: Regenerate.
	* melt/generated/warmelt-normal+06.cc: Regenerate.
	* melt/generated/warmelt-normal+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normal+melttime.h: Regenerate.
	* melt/generated/warmelt-normal.cc: Regenerate.
	* melt/generated/warmelt-normatch+01.cc: Regenerate.
	* melt/generated/warmelt-normatch+02.cc: Regenerate.
	* melt/generated/warmelt-normatch+03.cc: Regenerate.
	* melt/generated/warmelt-normatch+04.cc: Regenerate.
	* melt/generated/warmelt-normatch+05.cc: Regenerate.
	* melt/generated/warmelt-normatch+06.cc: Regenerate.
	* melt/generated/warmelt-normatch+meltdesc.c: Regenerate.
	* melt/generated/warmelt-normatch+melttime.h: Regenerate.
	* melt/generated/warmelt-normatch.cc: Regenerate.
	* melt/generated/warmelt-outobj+01.cc: Regenerate.
	* melt/generated/warmelt-outobj+02.cc: Regenerate.
	* melt/generated/warmelt-outobj+03.cc: Regenerate.
	* melt/generated/warmelt-outobj+04.cc: Regenerate.
	* melt/generated/warmelt-outobj+05.cc: Regenerate.
	* melt/generated/warmelt-outobj+06.cc: Regenerate.
	* melt/generated/warmelt-outobj+07.cc: Regenerate.
	* melt/generated/warmelt-outobj+meltdesc.c: Regenerate.
	* melt/generated/warmelt-outobj+melttime.h: Regenerate.
	* melt/generated/warmelt-outobj.cc: Regenerate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200375 138bc75d-0d04-0410-961f-82ee72b054a4


2013-06-25  Basile Starynkevitch  <basile@starynkevitch.net>
	{{begin having classy frames, ie. MELT frames which are C++ classes}}
	* melt-runtime.h (Melt_CallFrame, Melt_CallFrameWithValues): New
	classes, when MELT_HAVE_CLASSY_FRAME
	(MELT_CATCH, MELT_THROW): Remove those commented macros.
	* melt-runtime.c (Melt_CallFrame::_top_call_frame_): Define, when
	MELT_HAVE_CLASSY_FRAME.
	(melt_minor_copying_garbage_collector): Made non-static.
	(melt_output_cfile_decl_impl_secondary_option): Mention C++ in and
	gcc-melt.org in emitted comment.
	* melt/warmelt-outobj.melt (output_curframe_declstruct): Also emit
	code when MELT_HAVE_CLASSY_FRAME.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200395 138bc75d-0d04-0410-961f-82ee72b054a4

2013-06-25  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h (Melt_CallFrame): Has also a melthook_ptr_t.
	(Melt_CallFrameWithValues): Add constructor for hook.

	* melt-run.proto.h (meltfptr, meltfnum, meltfclos, meltfrout):
	Give definition when MELT_HAVE_CLASSY_FRAME.

	* melt/warmelt-genobj.melt (compile2obj_hook): The hook data
	parameter is named melthookdatap.

	* melt/warmelt-outobj.melt (outcinitfill_objinitroutine): Improve.
	(outcinitfill_objinithook): Improve.
	(output_curframe_declstruct): Emit variant for MELT_HAVE_CLASSY_FRAME.
	(output_curframe_declstruct_init): Ditto.
	(outpucod_procroutine): Slighty improved emission.

	* melt/warmelt-modes.melt (generate_runtypesupport_gty): Emit
	generation of safe casting functions.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@200402 138bc75d-0d04-0410-961f-82ee72b054a4