[Swift-commit] r5845 - trunk/src/org/griphyn/vdl/karajan/lib

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Tue Jul 17 00:22:16 CDT 2012


Author: hategan
Date: 2012-07-17 00:22:15 -0500 (Tue, 17 Jul 2012)
New Revision: 5845

Modified:
   trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
Log:
disable pipelined deep copy for now; it needs more work

Modified: trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2012-07-17 04:54:36 UTC (rev 5844)
+++ trunk/src/org/griphyn/vdl/karajan/lib/SetFieldValue.java	2012-07-17 05:22:15 UTC (rev 5845)
@@ -155,8 +155,9 @@
 	    and if its an array then recursively copy */
 	@SuppressWarnings("unchecked")
     void deepCopy(DSHandle dest, DSHandle source, VariableStack stack, int level) throws ExecutionException {
+	    // can move this to the leaf assignment to pipeline things
+	    ((AbstractDataNode) source).waitFor();
 		if (source.getType().isPrimitive()) {
-		    ((AbstractDataNode) source).waitFor();
 			dest.setValue(source.getValue());
 		}
 		else if (source.getType().isArray()) {




More information about the Swift-commit mailing list