X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FUpdates.h;h=0d0bf2ff6f3d18fdb56eb433896b98a96064b2b4;hb=74f4d30833166b780b708b161b03290bd0c8973c;hp=419e0f6297e57860bfb9cb31a7f6729fa7b0715a;hpb=1b85a989e426c5399cbdb0be6379f343ca36d6fb;p=ghc-hetmet.git diff --git a/ghc/includes/Updates.h b/ghc/includes/Updates.h index 419e0f6..0d0bf2f 100644 --- a/ghc/includes/Updates.h +++ b/ghc/includes/Updates.h @@ -227,7 +227,7 @@ DEBUG_FILL_SLOP(StgClosure *p) switch (inf->type) { case BLACKHOLE: - break; + return; case AP_STACK: sz = ((StgAP_STACK *)p)->size + sizeofW(StgAP_STACK) - sizeofW(StgHeader); break; @@ -235,7 +235,7 @@ DEBUG_FILL_SLOP(StgClosure *p) #ifdef SMP ((StgSelector *)p)->selectee = 0; #endif - break; + return; default: sz = inf->layout.payload.ptrs + inf->layout.payload.nptrs; break;