Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/HISTORY
ViewVC logotype

Diff of /sml/trunk/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 671, Mon Jun 19 02:02:32 2000 UTC revision 742, Thu Nov 30 14:09:32 2000 UTC
# Line 11  Line 11 
11  Date:  Date:
12  Tag: <post-commit CVS tag>  Tag: <post-commit CVS tag>
13  Description:  Description:
14    
15    ----------------------------------------------------------------------
16    Name: Matthias Blume
17    Date: 2000/11/30 23:12:00 JST
18    Tag: blume-20001130-filereorg
19    Description:
20    
21    Some manual updates and some file reorganizations in CM.
22    
23    ----------------------------------------------------------------------
24    Name: Matthias Blume
25    Date: 2000/11/24 17:45:00 JST
26    Tag: blume-20001124-link
27    Description:
28    
29    Drastically improved link traversal code for the case that the dynamic
30    value was already loaded at bootstrap time.  As a result, CM and CMB
31    now both load blazingly fast -- even on a very slow machine.  Also,
32    memory consumption has been further reduced by this.
33    
34    Warning: The format of the PIDMAP file has changed.  THerefore, to
35    bootstrap you have to do this:
36    
37    1. Run CMB.make
38    2. Make a symbolic link for the boot directory:
39         ln -s sml.boot.ARCH-OS xxx
40    3. "Rebuild" the boot directory:
41         ./makeml -boot xxx -rebuild sml ; rm xxx
42    4. Boot normally:
43          ./makeml
44    
45    ----------------------------------------------------------------------
46    Name: Matthias Blume
47    Date: 2000/11/21 21:20:00 JST
48    Tag: blume-20001121-tools
49    Description:
50    
51    Continued hacking on autoloading problem -- with success this time.
52    Also changed tool-plugin mechanism.  See new CM manual.
53    
54    ----------------------------------------------------------------------
55    Name: Matthias Blume
56    Date: 2000/11/19 14:30:00 JST
57    Tag:  blume-20001119-autoload
58    Description:
59    
60    Some hacking to make autoloading faster.  Success for CMB, no success
61    so far for CM.  There is a reduced structure CM' that autoloads faster.
62    (This is a temporary, non-documented hack to be eliminated again when
63    the general problem is solved.)
64    
65    ----------------------------------------------------------------------
66    Name: Matthias Blume
67    Date: 2000/11/17 14:10:00 JST
68    Tag: blume-20001117-pickle-lib
69    Description:
70    
71    1. Eliminated comp-lib.cm
72    2. Made pickle-lib.cm
73    3. Eliminated all uses of intset.sml (from comp-lib.cm)
74    4. Replaced all uses of intmap.{sig,sml} (from comp-lib.cm) with
75       equivalent constructs from smlnj-lib.cm (INtHashTable).
76    5. Point 4. also goes for those uses of intmap.* in MLRISC.
77       Duplicated intmap modules thrown out.
78    6. Hunted down all duplicated SCC code and replaced it with
79       equivalent stuff (GraphSCCFn from smlnj-lib.cm).
80    7. Rewrote Feedback module.
81    8. Moved sortedlist.sml into viscomp-lib.cm.  Eventually it
82       should be thrown out and equivalent modules from smlnj-lib.cm
83       should be used (IntRedBlackSet, IntListSet, ...).
84    
85    Confirmed that compiler compiles to fixpoint.
86    
87    ----------------------------------------------------------------------
88    Name: Allen Leung
89    Date: 2000/11/10 18:00:00
90    Tag: leunga-20001110-new-x86-fp
91    
92    A new x86 floating point code generator has been added.
93    By default this is turned off.  To turn this on, do:
94    
95        CM.autoload "$smlnj/compiler.cm";
96        Compiler.Control.MLRISC.getFlag "x86-fast-fp" := true;
97    
98    Changes:
99    
100    1.  Changed FTAN to FPTAN so that the assembly output is correct.
101    2.  Changed the extension callback for FTANGENT to generate:
102    
103              fptan
104              fstp  %st(0)
105        instead of
106              fptan
107              fstpl ftempmem
108    
109    3.  Numerous assembly fixes for x86.
110    
111    5.  Cleaned up the machine code output module x86/x86MC.sml and added
112        support for a whole bunch of instructions and addressing modes:
113    
114          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st, %st(n)
115          faddp/fsubp/fsubrp/fmulp/fdivp/fdivrp  %st, %st(n)
116          fadd/fsub/fsubr/fmul/fdiv/fdivr  %st(n), %st
117          fiadd/fisub/fisubr/fimul/fidiv/fidivr mem
118          fxch %st(n)
119          fld %st(n)
120          fst %st(n)
121          fst mem
122          fstp %st(n)
123          fucom %st(n)
124          fucomp %st(n)
125    
126        All these are now generated when the fast fp mode is turned on.
127    
128    6.  Removed the dedicated registers %st(0), ..., %st(7) from X86CpsRegs
129    
130    ----------------------------------------------------------------------
131    Name: Matthias Blume
132    Date: 2000/11/09 11:20:00 JST
133    Tag: blume-20001109-scc
134    Description:
135    
136    Eliminated some code duplication:
137    
138    1. Added "where" clause to GraphSCCFn in SML/NJ Library.
139       (Otherwise the functor is useless.)
140    2. Used GraphSCCFn where SCCUtilFun was used previously.
141    3. Got rid of SCCUtilFun (in comp-lib.cm).
142    
143    ----------------------------------------------------------------------
144    Name: Lal George
145    Date: 2000/11/06 09:02:21 EST 2000
146    Tag: Release_110_30
147    Description:
148    
149    - Version 110.30
150    ----------------------------------------------------------------------
151    Name: Matthias Blume
152    Date: 2000/11/04 14:45:00
153    Tag: blume-20001104-mlbuild
154    Description:
155    
156    - Made ml-build faster on startup.
157    - Documentation fixes.
158    
159    ----------------------------------------------------------------------
160    Name: Matthias Blume
161    Date: 2000/11/02 17:00:00 JST
162    Tag: blume-20001102-condcomp
163    Description:
164    
165    - Small tweaks to pickler -- new BOOTFILES!
166    - Version bumped to 110.29.2.
167    - Added conditional compilation facility to init.cmi (see comment there).
168    ----------------------------------------------------------------------
169    Name: Allen Leung
170    Date: 2000/10/23 19:31:00
171    Tag: leunga-20001023-demo-ra
172    
173    1. Minor RA changes that improves spilling on x86 (affects Moby and C-- only)
174    2. Test programs for the graph library updated
175    3. Some new MLRISC demo programs added
176    
177    ----------------------------------------------------------------------
178    Name: Matthias Blume
179    Date: 2000/08/31 22:15:00 JST
180    Tag: blume-20001017-errmsg
181    Description:
182    
183    More error message grief: Where there used to be no messages, there
184    now were some that had bogus error regions.  Fixed.
185    
186    ----------------------------------------------------------------------
187    Name: Matthias Blume
188    Date: 2000/08/31 17:30:00 JST
189    Tag: blume-20001017-v110p29p1
190    Description:
191    
192    I made a version 110.29.1 with new bootfiles.
193    
194    Changes:  Modified pickler/unpickler for faster and leaner unpickling.
195              CM documentation changes and a small bugfix in CM's error reporting.
196    
197    ----------------------------------------------------------------------
198    Name: Lal George
199    Date: 2000/09/27 14:42:35 EDT
200    Tag: george-20000927-nodestatus
201    Description:
202    
203    Changed the type of the nodestatus, so that:
204    
205            SPILLED(~1)             is now SPILLED
206            SPILLED(m) where m>=0   is now MEMREG(m)
207            SPILLED(s) where s<~1   is now SPILL_LOC(~s)
208    
209    ----------------------------------------------------------------------
210    Name: Matthias Blume
211    Date: 2000/09/07 14:45:00 JST
212    Tag: blume-20000907-cmerrmsg
213    Description:
214    
215    Small tweak to CM to avoid getting ML syntax error messages twice.
216    
217    ----------------------------------------------------------------------
218    Name: Matthias Blume
219    Date: 2000/08/31 18:00:00 JST
220    Tag: blume-20000831-cvsbootfiles
221    Description:
222    
223    New URL for boot files (because the 110.29 files on the BL server do
224    now work correctly with my updated install scripts for yacc and lex).
225    
226    ----------------------------------------------------------------------
227    Name: Matthias Blume
228    Date: 2000/08/08 12:33:00 JST
229    Tag: blume-20000808-manual
230    Description:
231    
232    Tiny update to CM manual.
233    
234    ----------------------------------------------------------------------
235    Name: Allen Leung
236    Date: 2000/08/7 19:31:00
237    Tag: leunga-20000807-a-whole-bunch-of-stuff
238    
239      Moby, C--, SSA, x86, machine descriptions etc.  Should only affect C--
240    and Mobdy.
241    
242    1.  x86
243    
244       a.  Fixes to peephole module by John and Dan.
245       b.  Assembly fix to SETcc by Allen.
246       c.  Fix to c-call by John.
247       d.  Fix to spilling by John.  (This one deals with the missing FSTPT case)
248       e.  Instruction selection optimization to SETcc as suggested by John.
249    
250           For example,
251    
252            MV(32, x, COND(32, CMP(32, LT, a, b), LI 1, LI 0))
253    
254           should generate:
255    
256            MOVL a, x
257            SUBL b, x
258            SHRL 31, x
259    
260    2.  IR stuff
261    
262         A bunch of new DJ-graph related algorithms added.  These
263         speed up SSA construction.
264    
265    3.  SSA + Scheduling
266    
267         Added code for SSA and scheduling to the repository
268    
269    ----------------------------------------------------------------------
270    Name: Lal George
271    Date: 2000/07/27 11:53:14 EDT
272    
273    Tag: lal-20000727-linux-ppc
274    Description:
275    
276     Made changes to support Linux PPC.
277     p.s. I have confirmation that the 110.29 boot files work fine.
278    
279    ----------------------------------------------------------------------
280    Name: Matthias Blume
281    Date: 2000/07/27 17:40:00 JST
282    Tag: blume-20000727-scripts
283    Description:
284    
285    !!!! WARNING !!!!
286    You must recompile the runtime system!
287    !!!! WARNING !!!!
288    
289    This is basically another round of script-enhancements:
290    
291    1. sml, ml-build, and ml-makedepend accept options -D and -U to define
292       and undefine CM preprocessor symbols.
293    
294    2. ml-build avoids generating a new heap image if it finds that the
295       existing one is still ok.  (The condition is that no ML file had to
296       be recompiled and all ML files are found to be older that the heap
297       file.)
298    
299       To make this work smoothly, I also hacked the runtime system as
300       well as SMLofNJ.SysInfo to get access to the heap image suffix
301       (.sparc-solaris, ...) that is currently being used.
302    
303       Moreover, the signature of CM.mk_standalone has changed.  See the
304       CM manual.
305    
306    3. ml-makedepend accepts additional options -n, -a, and -o.  (See the
307       CM manual for details.)
308    
309    4. More CM manual updates:
310        - all of the above has been documented.
311        - there is now a section describing the (CM-related) command line
312          arguments that are accepted by the "sml" command
313    
314    ----------------------------------------------------------------------
315    Name: Matthias Blume
316    Date: 2000/07/25 16:20:00 JST
317    Tag: blume-20000725-makedepend
318    Description:
319    
320    Added a script called ml-makedepend.  This can be used in makefiles
321    for Unix' make in a way very similar to the "makedepend" command for
322    C.
323    
324    The script internally uses function CM.sources.
325    
326    Synopsis:
327    
328        ml-makedepend [-f makefile] cmfile targetname
329    
330    The default for the makefile is "makefile" (or "Makefile" should
331    "makefile" not exist).
332    
333    ml-makedepend adds a cmfile/targetname-specific section to this
334    makefile (after removing the previous version of this section).  The
335    section contains a single dependency specification with targetname on
336    the LHS (targetname is an arbitrary name), and a list of files derived
337    from the cmfile on the RHS.  Some of the files on the RHS are
338    ARCH/OPSYS-specific.  Therefore, ml-makedepend inserts references to
339    "make" variables $(ARCH) and $(OPSYS) in place of the corresponding
340    path names.  The makefile writer is responsible for making sure that
341    these variables have correct at the time "make" is invoked.
342    
343    ----------------------------------------------------------------------
344    Name: Matthias Blume
345    Date: 2000/07/22 23:30:00 JST
346    Tag: blume-20000722-urlupdate
347    Description:
348    
349    Changed BOOT and config/srcarchiveurl to point to BL server:
350    
351        ftp://ftp.research.bell-labs.com/dist/smlnj/working/110.29/
352    
353    ----------------------------------------------------------------------
354    Name: Matthias Blume
355    Date: 2000/07/18 18:00:00 JST
356    Tag: blume-20000718-Version_110_29
357    Description:
358    
359    1. Updated src/compiler/TopLevel/main/version.sml to version 110.29
360    
361    2. Updated config/version to 110.29
362    
363    3. Updated config/srcarchiveurl
364    
365    3. New boot files!
366       ftp://ftp.cs.princeton.edu/pub/people/blume/sml/110.29-autofetch
367    
368    ----------------------------------------------------------------------
369    Name: Matthias Blume
370    Date: 2000/07/11 13:58:00 JST
371    Tag: blume-20000711-doctypo
372    Description:
373    
374    Fixed a few typos in CM manual.
375    
376    ----------------------------------------------------------------------
377    Name: Allen Leung
378    Date: 2000/06/15 00:38:00
379    Tag: leunga-20000704-sparc-x86
380    
381    1. x86 peephole improvement sp += k; sp -= k => nop  [from John]
382    2. fix to x86 RET bug [found by Dan Grossman]
383    3. sparc assembly bug fix for ticc instructions [found by Fermin]
384    
385       Affects c-- and moby only
386    
387    ----------------------------------------------------------------------
388    Name: Matthias Blume
389    Date: 2000/07/04 15:26:00
390    Tag: blume-20000704-trigger
391    Description:
392    
393    1. Improvements to CM manual.
394    2. SMLofNJ.Internals.BTrace.trigger reinstated as an alternative way
395       of getting a back-trace.  The function, when called, raises an
396       internal exception which explicitly carries the full back-trace history,
397       so it is unaffected by any intervening handle-raise pairs ("trivial"
398       or not).  The interactive loop will print that history once it arrives
399       at top level.
400       Short of having all exceptions implicitly carry the full history, the
401       recommended way of using this facility is:
402         - compile your program with instrumentation "on"
403         - run it, when it raises an exception, look at the history
404         - if the history is "cut off" because of some handler, go and modify
405           your program so that it explicitly calls BTrace.trigger
406         - recompile (still instrumented), and rerun; look at the full history
407    
408    ----------------------------------------------------------------------
409    Name: Matthias Blume
410    Date: 2000/07/03 15:36:00 JST
411    Tag: blume-20000702-manual
412    Description:
413    
414    Small corrections and updates to CM manual.
415    
416    ----------------------------------------------------------------------
417    Name: Matthias Blume
418    Date: 2000/06/29 16:04:00 JST
419    Tag: blume-20000629-yacctool
420    Description:
421    
422    Changes:
423    
424    1. Class "mlyacc" now takes separate arguments to pass options to
425       generated .sml- and .sig-files independently.
426    2. Corresponding CM manual updates.
427    3. BTrace module now also reports call sites.  (However, for loop clusters
428       it only shows from where the cluster was entered.)  There are associated
429       modifications to core.sml, internals.{sig,sml}, btrace.sml, and btimp.sml.
430    
431    ----------------------------------------------------------------------
432    Name: Matthias Blume
433    Date: 2000/06/27 16:51:00 JST
434    Tag: blume-20000627-noweb
435    Description:
436    
437    Changes:
438    
439     1. Implemented "subdir" and "witness" options for noweb tool.
440        This caused some slight internal changes in CM's tool implementation.
441     2. Fixed bug in "tool plugin" mechanism.  This is essentially cleaning
442        some remaining issues from earlier path anchor changes.
443     3. Updated CM manual accordingly.
444    
445     4. Changed implementation of back-tracing so that I now consider it
446        ready for prime-time.
447    
448        In particular, you don't have to explicitly trigger the back-trace
449        anymore.  Instead, if you are running BTrace-instrumented code and
450        there is an uncaught exception (regardless of whether or not it was
451        raised in instrumented code), the top-level evalloop will print
452        the back-trace.
453    
454        Features:
455    
456          - Instrumented and uninstrumented code work together seemlessly.
457            (Of course, uninstrumented code is never mentioned in actual
458             back-traces.)
459    
460          - Asymptotic time- and space-complexity of instrumented code is
461            equal to that of uninstrumented code.  (This means that
462            tail-recursion is preserved by the instrumentation phase.)
463    
464          - Modules whose code has been instrumented in different sessions
465            work together without problem.
466    
467          - There is no penalty whatsoever on uninstrumented code.
468    
469          - There is no penalty on "raise" expressions, even in
470            instrumented code.
471    
472        A potential bug (or perhaps it is a feature, too):
473    
474          A back-trace reaches no further than the outermost instrumented
475          non-trivial "raise".  Here, a "trivial" raise is one that is the
476          sole RHS of a "handle" rule.  Thus, back-traces reach trough
477    
478               <exp> handle e => raise e
479    
480          and even
481    
482               <exp> handle Foo => raise Bar
483    
484          and, of course, through
485    
486               <exp> handle Foo => ...
487    
488         if the exception was not Foo.
489    
490         Back-traces always reach right through any un-instrumented code
491         including any of its "handle" expressions, trivial or not.
492    
493       To try this out, do the following:
494    
495         - Erase all existing binfiles for your program.
496           (You may keep binfiles for those modules where you think you
497            definitely don't need back-tracing.)
498         - Turn on back-trace instrumentation:
499              SMLofNJ.Internals.BTrace.mode (SOME true);
500         - Recompile your program.  (I.e., run "CM.make" or "use".)
501         - You may now turn instrumentation off again (if you want):
502              SMLofNJ.Internals.BTrace.mode (SOME false);
503         - Run your program as usual.  If it raises an exception that
504           reaches the interactive toplevel, then a back-trace will
505           automatically be printed.  After that, the toplevel loop
506           will print the exception history as usual.
507    
508    ----------------------------------------------------------------------
509    Name: Matthias Blume
510    Date: 2000/06/26 09:56:46 JST
511    Tag: blume-20000626-setup
512    Description:
513    
514    CM: - setup-parameter to "sml" added; this can be used to run arbitrary
515          ML code before and after compiling a file (e.g., to set compiler
516          flags)
517    
518    Compiler: - improved btrace API (in core.sml, internals.{sig,sml})
519              - associated changes to btrace.sml (BTrace instrumentation pass)
520              - cleaner implementation of btimp.sml (BTrace tracing and report
521                module)
522    
523    CM manual: * new path encoding documented
524               * description of setup-parameter to "sml" added
525    
526    The biggest user-visible change to back-tracing is that it is no
527    longer necessary to compile all traced modules within the same
528    session.  (This was a real limitation.)
529    
530    ----------------------------------------------------------------------
531    Name: Matthias Blume
532    Date: 2000/06/24 12:40:00 JST
533    Tag: blume-20000624-startup
534    Description:
535    
536    Fixes startup slowdown problem.  (I was calling SrcPath.sync a _tad_
537    bit too often -- to put it mildly. :)
538    
539    ----------------------------------------------------------------------
540    Name: Matthias Blume
541    Date: 2000/06/23 18:20:00 JST
542    Tag: blume-20000623-btrace
543    Description:
544    
545    This updates adds a backtrace facility to aid programmers in debugging
546    their programs.  This involves the following changes:
547    
548    1. Module system/smlnj/init/core.sml (structure _Core) now has hooks for
549       keeping track of the current call stack.  When programs are compiled
550       in a special mode, the compiler will insert calls to these hooks
551       into the user program.
552       "Hook" means that it is possible for different implementations of
553       back-tracing to register themselves (at different times).
554    
555    2. compiler/MiscUtil/profile/btrace.sml implements the annotation phase
556       as an Absyn.dec->Absyn.dec rewrite.  Normally this phase is turned off.
557       It can be turned on using this call:
558         SMLofNJ.Internals.BTrace.mode (SOME true);
559       Turning it off again:
560         SMLofNJ.Internals.BTrace.mode (SOME false);
561       Querying the current status:
562         SMLofNJ.Internals.BTrace.mode NONE;
563       Annotated programs are about twice as big as normal ones, and they
564       run a factor of 2 to 4 slower with a dummy back-trace plugin (one
565       where all hooks do nothing).  The slowdown with a plugin that is
566       actually useful (such as the one supplied by default) is even greater,
567       but in the case of the default plugin it is still only an constant
568       factor (amortized).
569    
570    3. system/Basis/Implementation/NJ/internals.{sig,sml} have been augmented
571       with a sub-structure BTrace for controlling back-tracing.  In particular,
572       the above-mentioned function "mode" controls whether the annotation
573       phase is invoked by the compiler.  Another important function is
574       "trigger": when called it aborts the current execution and causes
575       the top-level loop to print a full back-trace.
576    
577    4. compiler/MiscUtil/profile/btimp.sml is the current default plugin
578       for back-tracing.  It keeps track of the dynamic call stack and in
579       addition to that it keeps a partial history at each "level" of that
580       stack.  For example, if a tail-calls b, b tail-calls c, and c tail-calls
581       d and b (at separate times, dynamically), then the report will show:
582    
583       GOTO   d
584             /c
585       GOTO  \b
586       CALL   a
587    
588       This shows that there was an initial non-tail call of a, then a
589       tail-call to b or c, looping behavior in a cluster of functions that
590       consist of b and c, and then a goto from that cluster (i.e., either from
591       b or from c) to d.
592    
593       Note that (depending on the user program) the amount of information
594       that the back-trace module has to keep track of at each level is bounded
595       by a constant.  Thus, the whole implementation has the same asymptotical
596       complexity as the original program (both in space and in time).
597    
598    5. compiler/TopLevel/interact/evalloop.sml has been modified to
599       handle the special exception SMLofNJ.Internals.BTrace.BTrace
600       which is raised by the "trigger" function mentioned above.
601    
602    Notes on usage:
603    
604    - Annotated code works well together with unannotated code:
605    Unannotated calls simply do not show up at all in the backtrace.
606    
607    - It is not a good idea to let modules that were annotated during
608    different sessions run at the same time.  This is because the compiler
609    chooses small integers to identify individual functions, and there
610    will be clashes if different modules were compiled in separate sessions.
611    (Nothing will crash, and you will even be told about the clashes, but
612    back-trace information will in general not be useful.)
613    
614    - Back-tracing can be confused by callcc and capture.
615    
616    - The only way of getting a back-trace right now is to explicitly
617    invoke the "trigger" function from your user program.  Eventually, we
618    should make every exception carry back-trace information (if
619    available).  But since this creates more overhead at "raise"-time
620    (similar to the current exnHistory overhead), I have not yet
621    implemented this.  (The implementation will be rather easy.)  With
622    exceptions carrying back-trace information, this facility will be even
623    more useful because users don't need to modify their programs...
624    
625    - While it is possible to compile the compiler with back-trace
626    annotations turned on (I did it to get some confidence in
627    correctness), you must make absolutely sure that core.sml and
628    btimp.sml are compiled WITHOUT annotation!  (core.sml cannot actually
629    be compiled with annotation because there is no core access yet, but
630    if you compile btimp.sml with annotation, then the system will go into
631    an infinite recursion and crash.)
632    Since CM currently does not know about BTrace, the only way to turn
633    annotations on and off for different modules of the compiler is to
634    interrupt CMB.make, change the settings, and re-invoke it.  Of course,
635    this is awkward and clumsy.
636    
637    Sample sessions:
638    
639    Standard ML of New Jersey v110.28.1 [FLINT v1.5], June 5, 2000
640    - SMLofNJ.Internals.BTrace.mode (SOME true);
641    [autoloading]
642    [autoloading done]
643    val it = false : bool
644    - structure X = struct
645    -     fun main n = let
646    -         fun a (x, 0) = d x
647    -           | a (x, n) = b (x, n - 1)
648    -         and b (x, n) = c (x, n)
649    -         and c (x, n) = a (x, n)
650    -         and d x = e (x, 3)
651    -         and e (x, 0) = f x
652    -           | e (x, n) = e (x, n - 1)
653    -         and f 0 = SMLofNJ.Internals.BTrace.trigger ()
654    -           | f n = n * g (n - 1)
655    -         and g n = a (n, 3)
656    -     in
657    -         f n
658    -     end
659    - end;
660    structure X : sig val main : int -> int end
661    - X.main 3;
662    *** BACK-TRACE ***
663    GOTO   stdIn:4.2-13.20: X.main[2].f
664    GOTO-( stdIn:4.2-13.20: X.main[2].e
665    GOTO   stdIn:4.2-13.20: X.main[2].d
666         / stdIn:4.2-13.20: X.main[2].a
667         | stdIn:4.2-13.20: X.main[2].b
668    GOTO-\ stdIn:4.2-13.20: X.main[2].c
669    CALL   stdIn:4.2-13.20: X.main[2].g
670    GOTO   stdIn:4.2-13.20: X.main[2].f
671    GOTO-( stdIn:4.2-13.20: X.main[2].e
672    GOTO   stdIn:4.2-13.20: X.main[2].d
673         / stdIn:4.2-13.20: X.main[2].a
674         | stdIn:4.2-13.20: X.main[2].b
675    GOTO-\ stdIn:4.2-13.20: X.main[2].c
676    CALL   stdIn:4.2-13.20: X.main[2].g
677    GOTO   stdIn:4.2-13.20: X.main[2].f
678    GOTO-( stdIn:4.2-13.20: X.main[2].e
679    GOTO   stdIn:4.2-13.20: X.main[2].d
680         / stdIn:4.2-13.20: X.main[2].a
681         | stdIn:4.2-13.20: X.main[2].b
682    GOTO-\ stdIn:4.2-13.20: X.main[2].c
683    CALL   stdIn:4.2-13.20: X.main[2].g
684    GOTO   stdIn:4.2-13.20: X.main[2].f
685    CALL   stdIn:2.15-17.4: X.main[2]
686    -
687    
688    (Note that because of a FLINt bug the above code currently does not
689    compile without BTrace turned on.)
690    
691    Here is another example, using my modified Tiger compiler:
692    
693    Standard ML of New Jersey v110.28.1 [FLINT v1.5], June 5, 2000
694    - SMLofNJ.Internals.BTrace.mode (SOME true);
695    [autoloading]
696    [autoloading done]
697    val it = false : bool
698    - CM.make "sources.cm";
699    [autoloading]
700    ...
701    [autoloading done]
702    [scanning sources.cm]
703    [parsing (sources.cm):parse.sml]
704    [creating directory CM/SKEL ...]
705    [parsing (sources.cm):tiger.lex.sml]
706    ...
707    [wrote CM/sparc-unix/semant.sml]
708    [compiling (sources.cm):main.sml]
709    [wrote CM/sparc-unix/main.sml]
710    [New bindings added.]
711    val it = true : bool
712    - Main.compile ("../testcases/merge.tig", "foo.out");
713    *** BACK-TRACE ***
714    CALL   lib/semant.sml:99.2-396.21: SemantFun[2].transExp.trvar
715    CALL   lib/semant.sml:99.2-396.21: SemantFun[2].transExp.trexp
716    CALL   lib/semant.sml:289.3-295.22: SemantFun[2].transExp.trexp.check[2]
717    GOTO   lib/semant.sml:289.3-295.22: SemantFun[2].transExp.trexp.check[2]
718    CALL   lib/semant.sml:99.2-396.21: SemantFun[2].transExp.trexp
719    CALL   lib/semant.sml:99.2-396.21: SemantFun[2].transExp.trexp
720    CALL   lib/semant.sml:488.3-505.6: SemantFun[2].transDec.trdec[2].transBody[2]
721         / lib/semant.sml:411.65-543.8: SemantFun[2].transDec
722    CALL-\ lib/semant.sml:413.2-540.9: SemantFun[2].transDec.trdec[2]
723    CALL   lib/semant.sml:99.2-396.21: SemantFun[2].transExp.trexp
724    CALL   lib/semant.sml:8.52-558.4: SemantFun[2].transProg[2]
725    CALL   main.sml:1.18-118.4: Main.compile[2]
726    -
727    
728    ----------------------------------------------------------------------
729    Name: Matthias Blumen
730    Date: 2000/06/21 18:00:00 JST
731    Tag: blume-20000621-manual
732    Description:
733    
734    CM manual update: Path environments documented.
735    
736    ----------------------------------------------------------------------
737    Name: Matthias Blume
738    Date: 2000/06/19 13:40:00
739    Tag: blume-20000619-manual
740    Description:
741    
742    CM manual and system/README update.  This only covers the fact that
743    there are no more implicit anchors.  (Path environments and the "bind"
744    option to "cm" have yet to be documented.)
745    
746  ----------------------------------------------------------------------  ----------------------------------------------------------------------
747  Name: Matthias Blume  Name: Matthias Blume
748  Date: 2000/06/19 11:05:00 JST  Date: 2000/06/19 11:05:00 JST

Legend:
Removed from v.671  
changed lines
  Added in v.742

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0