runtime: fix incorrectly commented out code in heapdump.c
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 4 Aug 2016 17:21:23 +0000 (17:21 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 4 Aug 2016 17:21:23 +0000 (17:21 +0000)
    Reviewed-on: https://go-review.googlesource.com/25490

From-SVN: r239144

gcc/go/gofrontend/MERGE
libgo/runtime/heapdump.c

index 92cb99aae7039bf905608f479fdd7973d4423c77..83a187cf68c9ce636bb148fab9e910bb17881d51 100644 (file)
@@ -1,4 +1,4 @@
-235dffb0de1e99d6f521f052067f0e936bf63baa
+ae44ca35b0b1c2ab925cadbcd7d47b334be5a318
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index d0cfb01478d79dc3641238dfb709ff53c8765dfe..52a91e87da76d6394608a40a3b55388bec50a839 100644 (file)
@@ -763,14 +763,16 @@ dumpefacetypes(void *obj __attribute__ ((unused)), uintptr size, const Type *typ
                //playgcprog(0, (uintptr*)type->gc + 1, dumpeface_callback, obj);
                break;
        case TypeInfo_Array:
-               for(i = 0; i <= size - type->__size; i += type->__size)
+               for(i = 0; i <= size - type->__size; i += type->__size) {
                        //playgcprog(i, (uintptr*)type->gc + 1, dumpeface_callback, obj);
+               }
                break;
        case TypeInfo_Chan:
                if(type->__size == 0) // channels may have zero-sized objects in them
                        break;
-               for(i = runtime_Hchansize; i <= size - type->__size; i += type->__size)
+               for(i = runtime_Hchansize; i <= size - type->__size; i += type->__size) {
                        //playgcprog(i, (uintptr*)type->gc + 1, dumpeface_callback, obj);
+               }
                break;
        }
 }