bug fix for copying locals to out-set
authorjjenista <jjenista>
Wed, 20 Jan 2010 19:11:45 +0000 (19:11 +0000)
committerjjenista <jjenista>
Wed, 20 Jan 2010 19:11:45 +0000 (19:11 +0000)
Robust/src/IR/Flat/BuildCode.java

index 0a43b8bdc98c0fafc84df5ac797710df1f53c211..fe1f9848476e4019151863c6944f20c35dcdfb8d 100644 (file)
@@ -3623,8 +3623,11 @@ public class BuildCode {
     while( itr.hasNext() ) {
       TempDescriptor temp = itr.next();
 
-      // only have to do this for primitives
-      if( !temp.getType().isPrimitive() ) {
+      // only have to do this for primitives non-arrays
+      if( !(
+            temp.getType().isPrimitive() && !temp.getType().isArray()
+           )
+        ) {
        continue;
       }