diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-08-04 17:21:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-08-04 17:21:23 +0000 |
commit | e91f59b91956c3fac6e9d9b7cba0a52a35ea2b6b (patch) | |
tree | 4bc5e5b456f2bc4321cf7ec9addfd8952a725c68 /libgo | |
parent | 1841e25ca581e68d4a331135fc5bdee2da7b6514 (diff) | |
download | gcc-e91f59b91956c3fac6e9d9b7cba0a52a35ea2b6b.zip gcc-e91f59b91956c3fac6e9d9b7cba0a52a35ea2b6b.tar.gz gcc-e91f59b91956c3fac6e9d9b7cba0a52a35ea2b6b.tar.bz2 |
runtime: fix incorrectly commented out code in heapdump.c
Reviewed-on: https://go-review.googlesource.com/25490
From-SVN: r239144
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/runtime/heapdump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libgo/runtime/heapdump.c b/libgo/runtime/heapdump.c index d0cfb01..52a91e8 100644 --- a/libgo/runtime/heapdump.c +++ b/libgo/runtime/heapdump.c @@ -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; } } |