summaryrefslogtreecommitdiff
path: root/gcc/melt-cc-script.proto
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-27 20:38:16 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-27 20:38:16 +0000
commitf3d657fafa34450984582b2d7152a2f3713e0af1 (patch)
treebb9c96a134af7e001fe582b23ce3ded06f2163c6 /gcc/melt-cc-script.proto
parentea6d227835adb0faffe6ec18df2be84c04feff6f (diff)
downloadgcc-f3d657fafa34450984582b2d7152a2f3713e0af1.tar.gz
2008-03-27 Basile Starynkevitch <basile@starynkevitch.net>
* gcc/basilys.c: (unsafe_index_mapobject, unsafe_index_mapstring) (unsafe_index_mappointer) returns a free index for tables which have mostly deleted entries. (basilysgc_send) Added naughty dirty trick to avoid eating a callframe on every send. (basilys_apply) new name of basilysgc_apply since it has no frame and do not perform any allocation. (basilysgc_new_mult6, basilysgc_new_mult7) new functions. * gcc/basilys.h: (basilys_curframdepth) new function. (basilysgc_new_mult6, basilysgc_new_mult7) new functions. * gcc/melt/warm-basilys.bysl: (the_framedepth) new primitive. (debug_msg) displays the call depth. Added output of semicolon before goto-s. (compilobj_nrep_multacc, compilobj_nrep_fieldacc) working. (compil_data_and_slots_fill) Handles correctly the ndata_locbind field. Uses basilys_apply in generated code. * gcc/melt-cc-script.proto: added output of generated timestamp file for debugging. * gcc/melt/test0.bysl: more tests. * gcc/melt/test1.bysl: more tests. * contrib/cold-basilys.lisp: uses basilys_apply instead of basilysgc_apply in generated code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@133654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-cc-script.proto')
-rw-r--r--gcc/melt-cc-script.proto5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/melt-cc-script.proto b/gcc/melt-cc-script.proto
index 9d6d7cc9771..06c605da812 100644
--- a/gcc/melt-cc-script.proto
+++ b/gcc/melt-cc-script.proto
@@ -56,8 +56,11 @@ md5src=`md5sum $csource`
trap "rm -f $datf.*" EXIT
-date "+const char basilys_compiled_timestamp[]=\"$csource %c\";" > $datf.c
+date "+const char basilys_compiled_timestamp[]=\"%c $csource\";" > $datf.c
echo "const char basilys_md5[]=\"$md5src\";" >> $datf.c
+
+head $datf.c
+
case `uname` in
Linux|SunOS|Solaris)
$melt_cc -fPIC -shared $melt_cflags -I "$melt_headerdir" $csource $datf.c -o $nakedynstuff.so;;