make lookupSymbol() publicly accessible
authorDavid Crawshaw <david@zentus.com>
Sat, 18 Nov 2006 05:06:53 +0000 (21:06 -0800)
committerDavid Crawshaw <david@zentus.com>
Sat, 18 Nov 2006 05:06:53 +0000 (21:06 -0800)
darcs-hash:20061118050653-0c629-adcbb3b3c2cbf6946a571ae3af5028f076746cab.gz

src/org/ibex/nestedvm/Runtime.java

index 1b2e372..e72ef94 100644 (file)
@@ -102,7 +102,7 @@ public abstract class Runtime implements UsermodeConstants,Registers,Cloneable {
     
     /** Subclasses should return the address of the symbol <i>symbol</i> or -1 it it doesn't exits in this method 
         This method is only required if the call() function is used */
-    protected int lookupSymbol(String symbol) { return -1; }
+    public int lookupSymbol(String symbol) { return -1; }
     
     /** Subclasses should populate a CPUState object representing the cpu state */
     protected abstract void getCPUState(CPUState state);