SCM Repository
View of /sml/branches/SMLNJ/src/runtime/config/gen-bc-instr-def.c
Parent Directory
|
Revision Log
Revision 3 -
(download)
(as text)
(annotate)
Sat Oct 4 23:33:46 1997 UTC (23 years, 4 months ago)
File size: 480 byte(s)
Sat Oct 4 23:33:46 1997 UTC (23 years, 4 months ago)
File size: 480 byte(s)
This commit was manufactured by cvs2svn to create branch 'SMLNJ'.
/* gen-bc-instr-def.c * * COPYRIGHT (c) 1993 by AT&T Bell Laboratories. * * A program to generate #defines for the bytecode instruction opcodes. */ #include <stdio.h> #include "gen.h" #include "bc.h" #include "print-bc.h" main () { int i; FILE *f; f = OpenFile ("bc-instr-def.h", "_BC_INSTR_DEF_"); for (i = 0; i < NUM_BC_INSTRS; i++) fprintf(f, "#define %-23s %d\n", instrTbl[i].instrName, i); CloseFile (f, "_BC_INSTR_DEF_"); exit (0); }
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |