[Swift-commit] r6247 - branches/faster/src/org/griphyn/vdl/karajan

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Fri Feb 8 23:24:09 CST 2013


Author: hategan
Date: 2013-02-08 23:24:08 -0600 (Fri, 08 Feb 2013)
New Revision: 6247

Modified:
   branches/faster/src/org/griphyn/vdl/karajan/Monitor.java
Log:
...

Modified: branches/faster/src/org/griphyn/vdl/karajan/Monitor.java
===================================================================
--- branches/faster/src/org/griphyn/vdl/karajan/Monitor.java	2013-02-09 04:46:54 UTC (rev 6246)
+++ branches/faster/src/org/griphyn/vdl/karajan/Monitor.java	2013-02-09 05:24:08 UTC (rev 6247)
@@ -59,7 +59,6 @@
 
 import org.globus.cog.karajan.analyzer.VariableNotFoundException;
 import org.globus.cog.karajan.compiled.nodes.Node;
-import org.griphyn.vdl.engine.Karajan;
 import org.griphyn.vdl.mapping.AbstractDataNode;
 import org.griphyn.vdl.mapping.ArrayDataNode;
 import org.griphyn.vdl.mapping.DSHandle;
@@ -166,13 +165,14 @@
 					}
 					entry.add(sz);
 					String fs;
-					if (f instanceof FutureWrapper) {
+					// TODO
+					/*if (f instanceof FutureWrapper) {
 						fs = String.valueOf(((FutureWrapper) f).listenerCount());
 					}
-					else {
+					else {*/
 						fs = f.toString();
 						fs = fs.substring(fs.indexOf(' ') + 1);
-					}
+					//}
 					entry.add(fs);
 					entry.add("2");
 					al.add(entry);
@@ -308,7 +308,7 @@
                 if (o instanceof Node) {
                     Node n = (Node) o;
                     int line = n.getLine();
-                    return(Karajan.demangle(n.getTextualName()) + ", " + 
+                    return(n.getTextualName() + ", " + 
                             fileName(n) + ", line " + line);
                 }
             }
@@ -324,7 +324,7 @@
                 if (o instanceof Node) {
                     Node n = (Node) o;
                     int line = n.getLine();
-                	ret.add(Karajan.demangle(n.getTextualName()) + ", " + 
+                	ret.add(n.getTextualName() + ", " + 
                             fileName(n) + ", line " + line);
                 
                 }
@@ -491,12 +491,14 @@
 
 	public List<FutureListener> getListeners(int wrindex) {
 		Object o = wr.get(wrindex);
-		if (o instanceof FutureWrapper) {
+		// TODO
+		/*if (o instanceof FutureWrapper) {
 			return ((FutureWrapper) o).getListeners();
 		}
 		else {
 		    return null;
-		}
+		}*/
+		return null;
 	}
 
 	public void mousePressed(MouseEvent e) {




More information about the Swift-commit mailing list