summaryrefslogtreecommitdiff
path: root/compiler/codeGen/StgCmmLayout.hs
diff options
context:
space:
mode:
authordias@eecs.tufts.edu <unknown>2009-03-23 17:07:06 +0000
committerdias@eecs.tufts.edu <unknown>2009-03-23 17:07:06 +0000
commite239aa2329416a2822fcc03c4ed486c7d28739e1 (patch)
treedce8820a6afe5cc6cb626bafe3be64eaaad96719 /compiler/codeGen/StgCmmLayout.hs
parentf9d5c95fb4b4989ce4da8005793d3730452a33a9 (diff)
downloadhaskell-e239aa2329416a2822fcc03c4ed486c7d28739e1.tar.gz
Small step toward call-conv improvement: separate out calls and returns
Diffstat (limited to 'compiler/codeGen/StgCmmLayout.hs')
-rw-r--r--compiler/codeGen/StgCmmLayout.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/StgCmmLayout.hs b/compiler/codeGen/StgCmmLayout.hs
index dbc97d49d8..c9f0324181 100644
--- a/compiler/codeGen/StgCmmLayout.hs
+++ b/compiler/codeGen/StgCmmLayout.hs
@@ -161,13 +161,13 @@ direct_call caller lbl arity args reps
<+> ppr args <+> ppr reps )
| null rest_reps -- Precisely the right number of arguments
- = emitCall Native target args
+ = emitCall NativeCall target args
| otherwise -- Over-saturated call
= ASSERT( arity == length initial_reps )
do { pap_id <- newTemp gcWord
; withSequel (AssignTo [pap_id] True)
- (emitCall Native target fast_args)
+ (emitCall NativeCall target fast_args)
; slow_call (CmmReg (CmmLocal pap_id))
rest_args rest_reps }
where