Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
sapl-interpreter
Commits
fd3dcfe8
Commit
fd3dcfe8
authored
Feb 15, 2016
by
Laszlo Domoszlai
Browse files
rare, but still can happen
parent
2782f696
Changes
1
Show whitespace changes
Inline
Side-by-side
interpreter/code.c
View file @
fd3dcfe8
...
...
@@ -548,9 +548,11 @@ void exec(Code* expr, int frame_ptr, int root_frame_ptr)
}
case
FT_PRIM
:
{
int
argmask
=
1
;
for
(
int
i
=
0
;
i
<
thunk
->
desc
->
arity
;
i
++
)
{
push_a
(
thunk
->
_args
[
i
]);
thunk
->
_args
[
i
]
->
desc
->
eval
();
if
(((
PrimEntry
*
)
thunk
->
desc
)
->
boxingMap
&
argmask
)
thunk
->
_args
[
i
]
->
desc
->
eval
();
thunk
=
stack_a
[
root_frame_ptr
-
1
];
}
...
...
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