home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.ee.pdx.edu
/
2014.02.ftp.ee.pdx.edu.tar
/
ftp.ee.pdx.edu
/
pub
/
users
/
Harry
/
compilers
/
p10
/
Peephole.java
< prev
next >
Wrap
Text File
|
2006-02-16
|
718b
|
35 lines
// ----------------------------- Peephole Optimizer -----------------------------
//
// Methods to perform peephole optimization.
//
// There will be only one instance of this class. The primary method is:
// Peephole.optimize ()
//
// This method will walk the list of IR instructions and will modify this list
// as it performs the optimizations.
//
// <YOUR NAME HERE> -- 00/00/00
import java.io.*;
class Peephole {
//
// Constructor
//
Peephole () { }
// optimize ()
//
// This method is called to perform the peephole optimizations.
//
void optimize ()
throws FatalError
{
System.err.println ("(Peephole optimizer not implemented.)");
}
}