From 9170b892d22271f773f38728cf0fcee3880dde8c Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Tue, 27 Jun 2017 22:01:32 +0200 Subject: [PATCH] add do_sort and do_sub_sort fields to the cell struct. --- src/cell.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/cell.h b/src/cell.h index 51c44a95a3..c98913bfae 100644 --- a/src/cell.h +++ b/src/cell.h @@ -337,8 +337,14 @@ struct cell { /*! Does this cell need to be drifted? */ char do_drift; - /*! Does any of this cell's sub-cells need to be drifted? */ + /*! Do any of this cell's sub-cells need to be drifted? */ char do_sub_drift; + + /*! Bit mask of sorts that need to be computed for this cell. */ + int do_sort; + + /*! Do any of this cell's sub-cells need to be sorted? */ + char do_sub_sort; #ifdef SWIFT_DEBUG_CHECKS /*! The list of tasks that have been executed on this cell */ -- GitLab