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
SWIFT
SWIFTsim
Commits
7ad41c62
Commit
7ad41c62
authored
Apr 19, 2017
by
Matthieu Schaller
Browse files
Remove unnecessary duplicate check for drift in runner_do_sort()
parent
2c1293cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner.c
View file @
7ad41c62
...
...
@@ -324,9 +324,6 @@ void runner_do_sort(struct runner *r, struct cell *c, int flags, int clock) {
}
if
(
flags
==
0
)
return
;
/* Sorting an un-drifted cell? */
if
(
!
cell_is_drifted
(
c
,
r
->
e
))
error
(
"Sorting undrifted cell."
);
/* start by allocating the entry arrays. */
if
(
c
->
sort
==
NULL
||
c
->
sortsize
<
count
)
{
if
(
c
->
sort
!=
NULL
)
free
(
c
->
sort
);
...
...
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