Package jminusminus
Class NEmitter
java.lang.Object
jminusminus.NEmitter
A class for generating native SPIM code.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddestinationDir(String destDir) Sets the destination directory for the SPIM files.booleanReturns true if an emitter error has occurred up to now, and false otherwise.voidwrite()Writes out SPIM file(s) to the file system.
- 
Constructor Details- 
NEmitterConstructs an NEmitter object.- Parameters:
- sourceFile- the source j-- program file name.
- clFiles- list of CLFile objects.
- ra- register allocation scheme (naive, linear, or graph).
 
 
- 
- 
Method Details- 
destinationDirSets the destination directory for the SPIM files.- Parameters:
- destDir- the destination directory.
 
- 
errorHasOccurredpublic boolean errorHasOccurred()Returns true if an emitter error has occurred up to now, and false otherwise.- Returns:
- true if an emitter error has occurred up to now, and false otherwise.
 
- 
writepublic void write()Writes out SPIM file(s) to the file system. The destination directory for the files can be set using the destinationDir() method.
 
-