Module: Mesa
Branch: main
Commit: b5a638454dee19fdad33f959d6a7d143452b35f1
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5a638454dee19fdad33f959d6a7d143452b35f1

Author: M Henning <[email protected]>
Date:   Sun Jul 16 22:01:08 2023 -0400

nouveau: Drop BuildUtil::Location

Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24175>

---

 src/nouveau/codegen/nv50_ir_build_util.h | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/src/nouveau/codegen/nv50_ir_build_util.h 
b/src/nouveau/codegen/nv50_ir_build_util.h
index 8f66b02a7f9..63be8d3ee66 100644
--- a/src/nouveau/codegen/nv50_ir_build_util.h
+++ b/src/nouveau/codegen/nv50_ir_build_util.h
@@ -110,31 +110,6 @@ public:
    static Instruction *split64BitOpPostRA(Function *, Instruction *,
                                           Value *zero, Value *carry);
 
-   struct Location
-   {
-      Location(unsigned array, unsigned arrayIdx, unsigned i, unsigned c)
-         : array(array), arrayIdx(arrayIdx), i(i), c(c) { }
-      Location(const Location &l)
-         : array(l.array), arrayIdx(l.arrayIdx), i(l.i), c(l.c) { }
-
-      bool operator==(const Location &l) const
-      {
-         return
-            array == l.array && arrayIdx == l.arrayIdx && i == l.i && c == l.c;
-      }
-
-      bool operator<(const Location &l) const
-      {
-         return array != l.array ? array < l.array :
-            arrayIdx != l.arrayIdx ? arrayIdx < l.arrayIdx :
-            i != l.i ? i < l.i :
-            c != l.c ? c < l.c :
-            false;
-      }
-
-      unsigned array, arrayIdx, i, c;
-   };
-
    Symbol *mkSymbol(DataFile file, int8_t fileIndex,
                     DataType ty, uint32_t baseAddress);
 

Reply via email to