power: Remove unused private members to fix compile-time warning
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Wed, 13 Aug 2014 10:57:29 +0000 (06:57 -0400)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Wed, 13 Aug 2014 10:57:29 +0000 (06:57 -0400)
Certain versions of clang complain about unused private members if
they are not used. This changeset removes such members from the
POWER-specific ProcessInfo struct to silence the warning.

src/arch/power/stacktrace.cc
src/arch/power/stacktrace.hh

index 5fcb6342cfefd56deb3fb48ec7bba8177f3d612d..315cf0ae56fa1daab95c6e3332fcf8f2530ea53d 100644 (file)
@@ -38,7 +38,6 @@ using namespace std;
 namespace PowerISA {
 
 ProcessInfo::ProcessInfo(ThreadContext *_tc)
-    : tc(_tc)
 {
     panic("ProcessInfo constructor not implemented.\n");
 }
index 72a66e5bd302a6ac2447654c6b03c095a8b8d372..65badad24edb7c78ee31da0dc45d1b6106de1cad 100644 (file)
@@ -47,15 +47,6 @@ namespace PowerISA
 
 class ProcessInfo
 {
-  private:
-    ThreadContext *tc;
-
-    int thread_info_size;
-    int task_struct_size;
-    int task_off;
-    int pid_off;
-    int name_off;
-
   public:
     ProcessInfo(ThreadContext *_tc);