2003/09/19 05:01:37
[org.ibex.core.git] / src / org / xwt / mips / Compiler.java
index bcfc662..f47d160 100644 (file)
@@ -1,5 +1,5 @@
 // Copyright 2003 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.xwt.imp;
+package org.xwt.mips;
 
 import java.util.*;
 import java.io.*;
@@ -19,7 +19,7 @@ import java.io.*;
 // FEATURE: emit bytecode rather than .java code (for on-the-fly classloading without javac present in "real" JVMs)
 
 /** reads a fully linked MIPS ELF binary image on stdin; writes a .java file on stdout */
-public class MIPS {
+public class Compiler {
 
     static String runs = "";
     static int last_emit = -1;
@@ -27,7 +27,7 @@ public class MIPS {
     public static void main(String[] s) throws IOException {
 
         if (s.length != 2) {
-            System.err.println("usage: java " + MIPS.class.getName() + " <classname> <binary.mips>");
+            System.err.println("usage: java " + Compiler.class.getName() + " <classname> <binary.mips>");
             System.exit(-1);
         }