This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r212969 - in /branches/melt-branch/gcc: ChangeL...


Author: bstarynk
Date: Thu Jul 24 05:43:00 2014
New Revision: 212969

URL: https://gcc.gnu.org/viewcvs?rev=212969&root=gcc&view=rev
Log:

2014-07-24  Basile Starynkevitch  <basile@starynkevitch.net>

	* melt-runtime.h: Improve some comments.
	(enum melt_coutput_mode_en): New.
	(meltgc_add_out_cstr_len_mode): New function.
	(meltgc_add_out_cstr_len, meltgc_add_out_cstr)
	(meltgc_add_out_csubstr_len): Functions made inline..

	* melt-runtime.cc (meltgc_add_out_cstr_len): Remove and replace by....
	(meltgc_add_out_csubstr_len): ... generalized to take a mode.
	(meltgc_add_out_csubstr_len, meltgc_add_out_cstr): Remove, since
	inlined in header file.

	* melt/warmelt-base.melt (add2out_utf8json_encstring): New primitive.
	(output_json): Use it to output strings.


Modified:
    branches/melt-branch/gcc/ChangeLog.MELT
    branches/melt-branch/gcc/melt-runtime.cc
    branches/melt-branch/gcc/melt-runtime.h
    branches/melt-branch/gcc/melt/warmelt-base.melt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]