summaryrefslogtreecommitdiff
path: root/rts/AutoApply.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/AutoApply.h')
-rw-r--r--rts/AutoApply.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/rts/AutoApply.h b/rts/AutoApply.h
index c5dbbcd344..c48bdf4701 100644
--- a/rts/AutoApply.h
+++ b/rts/AutoApply.h
@@ -19,8 +19,7 @@
W_ i; \
size = SIZEOF_StgPAP + WDS(n); \
HP_CHK_NP_ASSIGN_SP0(size,f); \
- TICK_ALLOC_HEAP_NOCTR(BYTES_TO_WDS(size)); \
- TICK_ALLOC_PAP(n+1 /* +1 for the FUN */, 0); \
+ TICK_ALLOC_PAP(size, 0); \
pap = Hp + WDS(1) - size; \
SET_HDR(pap, stg_PAP_info, CCCS); \
StgPAP_arity(pap) = HALF_W_(arity - m); \
@@ -49,8 +48,7 @@
pap = R1; \
size = SIZEOF_StgPAP + WDS(TO_W_(StgPAP_n_args(pap))) + WDS(n); \
HP_CHK_NP_ASSIGN_SP0(size,f); \
- TICK_ALLOC_HEAP_NOCTR(BYTES_TO_WDS(size)); \
- TICK_ALLOC_PAP(n+1 /* +1 for the FUN */, 0); \
+ TICK_ALLOC_PAP(size, 0); \
new_pap = Hp + WDS(1) - size; \
SET_HDR(new_pap, stg_PAP_info, CCCS); \
StgPAP_arity(new_pap) = HALF_W_(arity - m); \