Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
770dd811
Commit
770dd811
authored
Nov 26, 2007
by
Simon Marlow
Browse files
Check tag bits on the fun pointer of a PAP
parent
fc3ed319
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Sanity.c
View file @
770dd811
...
...
@@ -235,6 +235,9 @@ checkPAP (StgClosure *fun, StgClosure** payload, StgWord n_args)
n_args
);
break
;
}
ASSERT
(
fun_info
->
f
.
arity
>
TAG_MASK
?
GET_CLOSURE_TAG
(
fun
)
==
1
:
GET_CLOSURE_TAG
(
fun
)
==
fun_info
->
f
.
arity
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment