Debugging by Sesame Street:
authordias@eecs.tufts.edu <unknown>
Fri, 3 Apr 2009 20:15:04 +0000 (20:15 +0000)
committerdias@eecs.tufts.edu <unknown>
Fri, 3 Apr 2009 20:15:04 +0000 (20:15 +0000)
One of these things is not like the others:

stdPattern :: [LRep] -> Maybe StgHalfWord
stdPattern reps
  = case reps of
        []  -> Just ARG_NONE    -- just void args, probably
        [N] -> Just ARG_N
        [P] -> Just ARG_N
        [F] -> Just ARG_F
        [D] -> Just ARG_D
        [L] -> Just ARG_L

Today's debugging session was brought to you by the letter P.

compiler/codeGen/StgCmmLayout.hs

index 8c7c434..9e7263c 100644 (file)
@@ -350,7 +350,7 @@ stdPattern reps
   = case reps of
        []  -> Just ARG_NONE    -- just void args, probably
        [N] -> Just ARG_N
-       [P] -> Just ARG_N
+       [P] -> Just ARG_P
        [F] -> Just ARG_F
        [D] -> Just ARG_D
        [L] -> Just ARG_L