From a937a4b354b60999a011970d054cd6c478be130d Mon Sep 17 00:00:00 2001 From: Jimmy Kwa Date: Mon, 15 Nov 2010 13:10:19 -0800 Subject: Cleaned up decuda_to_ptxplus code to remove compiler warnings [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8119] --- decuda_to_ptxplus/decudaInstList.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'decuda_to_ptxplus/decudaInstList.h') diff --git a/decuda_to_ptxplus/decudaInstList.h b/decuda_to_ptxplus/decudaInstList.h index 649a5f5..d1707c3 100644 --- a/decuda_to_ptxplus/decudaInstList.h +++ b/decuda_to_ptxplus/decudaInstList.h @@ -14,7 +14,7 @@ struct constMemory { int index; int entryIndex; - char* type; + const char* type; std::list m_constMemory; }; @@ -65,7 +65,7 @@ struct decudaEntry class decudaInstList { -private: +protected: // List of decuda entries std::list m_entryList; @@ -125,7 +125,7 @@ public: // Parsing constant memory segments list void addEntryConstMemory(int index); // add entry specific const memory void addConstMemory(int index); // add global const memory - void setConstMemoryType(char* type); // set type of constant memory + void setConstMemoryType(const char* type); // set type of constant memory void addConstMemoryValue(std::string constMemoryValue); // add const memory std::list getRealTexList(); // get the list of real tex names -- cgit v1.3