Giacomo Travaglini has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/13655

Change subject: Remove circular
......................................................................

Remove circular

Change-Id: I4c2b0cd1c994bb2e57adbe8678d01e00aaa9662e
---
M src/base/circular_queue.hh
1 file changed, 1 insertion(+), 21 deletions(-)



diff --git a/src/base/circular_queue.hh b/src/base/circular_queue.hh
index f745fe4..9c9d224 100644
--- a/src/base/circular_queue.hh
+++ b/src/base/circular_queue.hh
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 ARM Limited
+ * Copyright (c) 2017-2018 ARM Limited
  * All rights reserved
  *
  * The license below extends only to copyright in the software and shall
@@ -624,26 +624,6 @@
         }
         return iterator(this, idx, round);
     }
-
-    /** Return an iterator to an index in the vector.
- * Same as the previous except that in the case in which the queue is full - * and idx == head, in which case the past-the-end iterator is returned.
-     */
-    iterator getBoundaryIterator(size_t idx) {
-        assert(isValidIdx(idx) || add(_tail, 1) == idx);
-        if (_head == idx && (_empty || (add(_tail, 1) == _head)))
-            return end();
-
-        uint32_t round = _round;
-        if (idx > _tail) {
-            if (idx >= _head && _head > _tail && !_empty) {
-                round -= 1;
-            }
-        } else if (idx < _head && _tail + 1 == _size) {
-            round += 1;
-        }
-        return iterator(this, idx, round);
-    }
 };

 #endif /* __BASE_CIRCULARQUEUE_HH__ */

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/13655
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I4c2b0cd1c994bb2e57adbe8678d01e00aaa9662e
Gerrit-Change-Number: 13655
Gerrit-PatchSet: 1
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to