From c520feb6f03d1fded623f81a71f6625728ebfab8 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 15 Jan 2003 20:28:36 +0000 Subject: [PATCH] Add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5309 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/LiveRange.h | 1 + lib/Target/SparcV9/RegAlloc/LiveRange.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h index 3a88a27fa1f..ddaf329e53b 100644 --- a/lib/CodeGen/RegAlloc/LiveRange.h +++ b/lib/CodeGen/RegAlloc/LiveRange.h @@ -81,6 +81,7 @@ public: void setRegClass(RegClass *RC) { MyRegClass = RC; } RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; } + unsigned getRegClassID() const; bool hasColor() const { return Color != -1; } diff --git a/lib/Target/SparcV9/RegAlloc/LiveRange.h b/lib/Target/SparcV9/RegAlloc/LiveRange.h index 3a88a27fa1f..ddaf329e53b 100644 --- a/lib/Target/SparcV9/RegAlloc/LiveRange.h +++ b/lib/Target/SparcV9/RegAlloc/LiveRange.h @@ -81,6 +81,7 @@ public: void setRegClass(RegClass *RC) { MyRegClass = RC; } RegClass *getRegClass() const { assert(MyRegClass); return MyRegClass; } + unsigned getRegClassID() const; bool hasColor() const { return Color != -1; }