version 1.24, 2003/03/02 13:12:33
|
version 1.26, 2003/08/25 08:02:58
|
Line 10 This manual is for Vmgen
|
Line 10 This manual is for Vmgen
|
(version @value{VERSION}, @value{UPDATED}), |
(version @value{VERSION}, @value{UPDATED}), |
the virtual machine interpreter generator |
the virtual machine interpreter generator |
|
|
Copyright @copyright{} 2002, 03 Free Software Foundation, Inc. |
Copyright @copyright{} 2002, 03,2003 Free Software Foundation, Inc. |
|
|
@quotation |
@quotation |
Permission is granted to copy, distribute and/or modify this document |
Permission is granted to copy, distribute and/or modify this document |
Line 1461 profiling.
|
Line 1461 profiling.
|
@item SUPER_CONTINUE |
@item SUPER_CONTINUE |
This is just a hint to Vmgen and does nothing at the C level. |
This is just a hint to Vmgen and does nothing at the C level. |
|
|
|
@findex MAYBE_UNUSED |
|
@item MAYBE_UNUSED |
|
This should be defined as @code{__attribute__((unused))} for gcc-2.7 and |
|
higher. It suppresses the warnings about unused variables in the code |
|
for superinstructions. You need to define this only if you are using |
|
superinstructions. |
|
|
@findex VM_DEBUG |
@findex VM_DEBUG |
@item VM_DEBUG |
@item VM_DEBUG |
If this is defined, the tracing code will be compiled in (slower |
If this is defined, the tracing code will be compiled in (slower |
Line 1638 instruction instead of laying down @code
|
Line 1645 instruction instead of laying down @code
|
|
|
The code for peephole optimization is in @file{vmgen-ex/peephole.c}. |
The code for peephole optimization is in @file{vmgen-ex/peephole.c}. |
You can use this file almost verbatim. Vmgen generates |
You can use this file almost verbatim. Vmgen generates |
@file{@var{file}-peephole.i} which contains data for the peephoile |
@file{@var{file}-peephole.i} which contains data for the peephole |
optimizer. |
optimizer. |
|
|
@findex init_peeptable |
@findex init_peeptable |